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
In reply to Re^2: NET::Printer Module not printing to local printer
by akwe-xavante
in thread NET::Printer Module not printing to local printer
by akwe-xavante
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |