Network Printer Support?

AmigaOne X1000 platform specific issues.
User avatar
Raziel
Posts: 1170
Joined: Sat Jun 18, 2011 4:00 pm
Location: a dying planet

Re: Network Printer Support?

Post by Raziel »

danbeaver wrote:It works through GhostScript, provided your printer supports duplex and PostScript. Have you tried it with FinalWriter?
HP Laserjet1320n

My printer is postscript and it supports duplex, yes.
I can even set it to use duplex all the time from it's firmware page...unfortunately that setting will be erased and set back to default -non duplex-, on shutting it down....and as i'm always shutting it down when i turn off the amiga, you can guess what will happen :-)
(The same printer on the same LAN address works as expected from a win machine even with duplex -set in the driver though-...then again those drivers are up to date)

I'm only using AmiPDF, Notepad, Multiview and hopefully Cinnamon Writer (one day) to print.

I don't have finalwriter, sorry and i never used Ghostscript (apart from when it is called from within AmiPDF)

My AmiPDF settings are

Printer
Workbench printer
GS Start timeout - 300
GS arguments - -dDUPLEX -dTUMBLE
Enable antialiasing - Checked

My printer prefs are
Printer type - PostScript
Always Init printer - Checked
Port device - netprinter.device
Port unit - 0

And the netprinter prefs are
Unit 0 of netprinter.device
Hostname or IP: 192.168.178.20
Protocol - LPR
Spool Type - Disk
Spool Directory - Cache:Spool/
People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
User avatar
danbeaver
Posts: 368
Joined: Thu Jan 19, 2012 9:58 pm
Location: Someplace you'd rather not be
Contact:

Re: Network Printer Support?

Post by danbeaver »

When you access the printers network page and set it to always duplex, it is lost on shutting it down? The HP Color Laser printer I used to own, saved it as a default, and you had to change it back to turn it off. My current Dell 5139cdn only sets it per job.
User avatar
Raziel
Posts: 1170
Joined: Sat Jun 18, 2011 4:00 pm
Location: a dying planet

Re: Network Printer Support?

Post by Raziel »

danbeaver wrote:When you access the printers network page and set it to always duplex, it is lost on shutting it down? The HP Color Laser printer I used to own, saved it as a default, and you had to change it back to turn it off. My current Dell 5139cdn only sets it per job.
Yes, unfortunately it does exactly that.
Either it doesn't feature a battery for saving prefs or the battery is done or it's just pretending to get the user option from the driver.

There is only an "Apply" and "Cancel" button on the printers options page...it keeps it as long as the printer has power, take the power away and everything changed gets lost.

I know, i don't understand it either
People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
User avatar
danbeaver
Posts: 368
Joined: Thu Jan 19, 2012 9:58 pm
Location: Someplace you'd rather not be
Contact:

Re: Network Printer Support?

Post by danbeaver »

I guess you could:

1) Leave it in its sleep state (never turn it off) -- its the American way!
2) Print everything with GhostScript or FinalWriter (I prefer the latter)
3) Run a script each time it powers up to go set that parameter (and I've never done one myself)
4) Get another printer like my HP 2605dn that kept it stored (my was about 100 EUR used).
5) Run your pages through a second time backwards
6) Continue to set it each time
User avatar
Raziel
Posts: 1170
Joined: Sat Jun 18, 2011 4:00 pm
Location: a dying planet

Re: Network Printer Support?

Post by Raziel »

danbeaver wrote:I guess you could:

1) Leave it in its sleep state (never turn it off) -- its the American way!
2) Print everything with GhostScript or FinalWriter (I prefer the latter)
3) Run a script each time it powers up to go set that parameter (and I've never done one myself)
4) Get another printer like my HP 2605dn that kept it stored (my was about 100 EUR used).
5) Run your pages through a second time backwards
6) Continue to set it each time
1) is absolutely against my principles (sp?) :-)
... etc ;-)

Actually i was going for 3...

There was talk about getting a coding lesson online (from AmiWest) that shows exactly what i want to achieve on boot up.
Still waiting for that lesson to surface though.

Otoh, i could try with AREXX maybe, then again, i dont know if AREXX would be capable of such a task?
People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
User avatar
gazelle
Posts: 102
Joined: Sun Mar 04, 2012 12:49 pm
Location: Frohnleiten, Austria

Re: Network Printer Support?

Post by gazelle »

Raziel wrote:Otoh, i could try with AREXX maybe, then again, i dont know if AREXX would be capable of such a task?
Roadshow does add a TCP: device, so a simple DOS-script should be enough.

Code: Select all

echo "*E&l1S" > TCP:Printer-IP/PortNumber
But I don't know if a new job will reset this setting.
User avatar
danbeaver
Posts: 368
Joined: Thu Jan 19, 2012 9:58 pm
Location: Someplace you'd rather not be
Contact:

Re: Network Printer Support?

Post by danbeaver »

Raziel wrote:
Otoh, i could try with AREXX maybe, then again, i dont know if AREXX would be capable of such a task?
Arexx requires a "port" in the program to which one sends commands; likely an AmigaDos script that selects the printer over your connection, then selects the option and sets it that option -- this is predicated on the script being adaptable to TCP/IP communications. There is, I am sure, a similar method in the way Bots get through web pages that fits your bill (Roboform can do this with tough login scripts). On the other hand, I see on eBay (http://www.ebay.com/ctg/HP-LaserJet-260 ... -/62957302) a used duplexing color printer for $166 with free shipping...

So, spend a few hours searching, then a lot of hours writing and debugging, or spend a few bucks or just try to save both hours and bucks by hand setting it. I like printing through FinalWriter which actually is a WYSWYG word processor that does not try to reformat where your pictures/logos/text boxes go [hint: some others lie about WSYWYG, and you know who you are, MS].
User avatar
PJS
Beta Tester
Beta Tester
Posts: 60
Joined: Sat Mar 12, 2011 2:07 am
Location: McLean, VA

Re: Network Printer Support?

Post by PJS »

Hi Raziel,
Raziel wrote: I'll definitely keep an eye out for that lesson
Just wanted to let you know I (FINALLY) finished writing up the Simple
IP Clients and Servers lesson on the AmigaOS wiki....

http://wiki.amigaos.net/wiki/AmiWest_2013_Lesson_4

Let me know on the channel if you have any questions or need anything.

Thanks,

PJS
Post Reply