Emulated_USB_Printer
Emulated_USB_Printer copied to clipboard
Sony Printer, ACL conversion and Windows problem
Hello! I'm emulating a Sony printer: up-dr80md I think i found the correct parameters:
modprobe g_printer idVendor=0x054C idProduct=0x3C3 bcdDevice=0x0108 iManufacturer="SONY" iProduct="UP-DR80MD" iSerialNumber="00000000" iPNPstring="MFG:SONY;MDL:UP-DR80MD;DES:Sony UP-DR80MD;CMD:SPJL-DS,SPDL-DS;CLS:PRINTER;SCDIV:0010;SCSYV:02011000;SCSNO:f4?-------------;SCSYS:0000003800010000000100;SCMDS:00000000000000000000;SCPRS:0000;SCSES:0000;SCWTS:0000;SCJBS:0000;SCSYE:00;SCMDE:0A08;SCMCE:00;SCJBI:0000000000000000;SCSYI:0A300E566DCC00004000E92D012D00;SCSVI:000000000000;SCMNI:000000000000;SCCAI:00000000000000;SCGAI:0000;SCGSI:00;SCMDI:1100FF;"
The OS correctly see the printer ad load the driver but now I have 2 problems:
- In Windows when I start a print, the driver sends a message about missing paper, probably he except a message from the printer about the paper load.
- Switching to Linux, no problem, I can send a file to the printer and get the PCL file, but the conversion to pdf is not working, it always exports the same wrong page. should I change some conversion parameter?
the biggest issue it's the point 2 Here the PCL file and the conversion in pdf https://we.tl/t-aOGS8YLUV0
Thanks for charing your parameters!
- The printer.c contains functions for setting three parameters: Paper Loaded/Paper Out, Error/ No Error, and Selected / Not selected. The correct status is Selected, Paper Loaded, No Error. Confirm that this is the case for you by running
emulatedprinter -get_status. Change values if needed (Seeemulatedprinter -h). If that das not work, maybe try a reduced PNP string. Somtimes these strings contain some status info. Maybe trymodprobe g_printer idVendor=0x054C idProduct=0x3C3 bcdDevice=0x0108 iManufacturer="SONY" iProduct="UP-DR80MD" iSerialNumber="00000000" iPNPstring="MFG:SONY;MDL:UP-DR80MD;DES:Sony UP-DR80MD;CMD:SPJL-DS,SPDL-DS;CLS:PRINTER ; - It looks like your print job is not PCL but
SONY-PDL-DS2. GhostPDL probably can't translate that. I don't know any interpreter for that. If you want to use GhostPDL for post-processing try getting PostScript print jobs. If you have access to the host, you can select a postscript driver manually! That way you don't need to rely on the auto detection.
Does this help?