in reply to Re: NET::Printer Module not printing to local printer
in thread NET::Printer Module not printing to local printer
Thank you holli for your reply
running the command lpstat -a returns the following result
lpstat -a HP_Color_LaserJet_CP2025n accepting requests since Wed 10 Apr 2019 22:05:32 BST
running the command lp -d HP_Color_LaserJet_CP2025n "Test Sheet.txt" request id is HP_Color_LaserJet_CP2025n-8 (1 file(s))
Prints out the txt file OK, printing a PDF document in the same way works too.
Am i a module missing and or do i need to add info the the script so that the print command knows where to find the printer?
Do i need to install, setup and or configure something elsewhere?
Changing the $PrinterName = " HP Network Printer" to $PrinterName = "HP_Color_LaserJet_CP2025n" doesn't fix the problem
is lp installed on the webserver? Tried googling this one and got nowhere, can i ask what's meant by this with a little more info so i can explore further
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: NET::Printer Module not printing to local printer
by holli (Abbot) on May 02, 2019 at 08:51 UTC | |
by akwe-xavante (Acolyte) on May 02, 2019 at 12:01 UTC |