Can't print to Mac printer from DOS program running under Parallels

David P. Dapper dpdapper at earthlink.net
Sun Feb 14 17:30:31 PST 2010


I am unable to print from an old DOS program running on Windows XP under Parallels Desktop for Mac 5.0 on a brand new iMac.  The document prints to the Mac printer queue but then hangs with the following error message: Error: pstopdffilter/pstocupsraster failed with err number -31000.

All other print jobs from applications running under XP print fine.  Any suggestions?  (I have seen suggestions on the Web from others receiving the same error message to simply turn off and restart the printer but that does not solve the problem.)


Here is the CUPS error log:

I [14/Feb/2010:16:58:09 -0800] [Job 14] Job restarted by user.
D [14/Feb/2010:16:58:09 -0800] cupsdMarkDirty(----J-)
D [14/Feb/2010:16:58:09 -0800] cupsdSetBusyState: Active clients and dirty files
D [14/Feb/2010:16:58:09 -0800] cupsdMarkDirty(----J-)
D [14/Feb/2010:16:58:09 -0800] cupsdSetBusyState: Active clients, printing jobs, and dirty files
D [14/Feb/2010:16:58:09 -0800] cupsdMarkDirty(---p--)
D [14/Feb/2010:16:58:09 -0800] Discarding unused printer-state-changed event...
D [14/Feb/2010:16:58:09 -0800] [Job 14] job-sheets=none,none
D [14/Feb/2010:16:58:09 -0800] [Job 14] argv[0]="Officejet_6500_E709n__8D9832_"
D [14/Feb/2010:16:58:09 -0800] [Job 14] argv[1]="14"
D [14/Feb/2010:16:58:09 -0800] [Job 14] argv[2]="David"
D [14/Feb/2010:16:58:09 -0800] [Job 14] argv[3]="Parallels Print Job"
D [14/Feb/2010:16:58:09 -0800] [Job 14] argv[4]="1"
D [14/Feb/2010:16:58:09 -0800] [Job 14] argv[5]="AP_ColorMatchingMode=AP_VendorColorMatching AP_D_InputSlot= nocollate com.apple.print.DocumentTicket.PMSpoolFormat=application/pdf com.apple.print.JobInfo.PMJobName=Parallels\ Print\ Job com.apple.print.PrinterInfo.PMColorDeviceID..n.=31209 com.apple.print.PrintSettings.PMColorSyncProfileID..n.=285 com.apple.print.PrintSettings.PMCopies..n.=1 com.apple.print.PrintSettings.PMCopyCollate..b. com.apple.print.PrintSettings.PMFirstPage..n.=1 com.apple.print.PrintSettings.PMLastPage..n.=2147483647 com.apple.print.PrintSettings.PMPageRange..a.0..n.=1 com.apple.print.PrintSettings.PMPageRange..a.1..n.=2147483647 media=Letter pserrorhandler-requested=standard job-uuid=urn:uuid:67296147-74cd-39a4-7032-07ceb3747e06 job-originating-host-name=localhost"
D [14/Feb/2010:16:58:09 -0800] [Job 14] argv[6]="/private/var/spool/cups/d00014-001"
D [14/Feb/2010:16:58:09 -0800] [Job 14] envp[0]="<CFProcessPath>"
D [14/Feb/2010:16:58:09 -0800] [Job 14] envp[1]="CUPS_CACHEDIR=/private/var/spool/cups/cache"
D [14/Feb/2010:16:58:09 -0800] [Job 14] envp[2]="CUPS_DATADIR=/usr/share/cups"
D [14/Feb/2010:16:58:09 -0800] [Job 14] envp[3]="CUPS_DOCROOT=/usr/share/doc/cups"
D [14/Feb/2010:16:58:09 -0800] [Job 14] envp[4]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [14/Feb/2010:16:58:09 -0800] [Job 14] envp[5]="CUPS_REQUESTROOT=/private/var/spool/cups"
D [14/Feb/2010:16:58:09 -0800] [Job 14] envp[6]="CUPS_SERVERBIN=/usr/libexec/cups"
D [14/Feb/2010:16:58:09 -0800] [Job 14] envp[7]="CUPS_SERVERROOT=/private/etc/cups"
D [14/Feb/2010:16:58:09 -0800] [Job 14] envp[8]="CUPS_STATEDIR=/private/etc/cups"
D [14/Feb/2010:16:58:09 -0800] [Job 14] envp[9]="HOME=/private/var/spool/cups/tmp"
D [14/Feb/2010:16:58:09 -0800] [Job 14] envp[10]="PATH=/usr/libexec/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [14/Feb/2010:16:58:09 -0800] [Job 14] envp[11]="SERVER_ADMIN=root at David-P-Dappers-iMac.local"
D [14/Feb/2010:16:58:09 -0800] [Job 14] envp[12]="SOFTWARE=CUPS/1.4.2"
D [14/Feb/2010:16:58:09 -0800] [Job 14] envp[13]="TMPDIR=/private/var/spool/cups/tmp"
D [14/Feb/2010:16:58:09 -0800] [Job 14] envp[14]="USER=root"
D [14/Feb/2010:16:58:09 -0800] [Job 14] envp[15]="CUPS_SERVER=/private/var/run/cupsd"
D [14/Feb/2010:16:58:09 -0800] [Job 14] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [14/Feb/2010:16:58:09 -0800] [Job 14] envp[17]="IPP_PORT=631"
D [14/Feb/2010:16:58:09 -0800] [Job 14] envp[18]="CHARSET=utf-8"
D [14/Feb/2010:16:58:09 -0800] [Job 14] envp[19]="LANG=en_US.UTF-8"
D [14/Feb/2010:16:58:09 -0800] [Job 14] envp[20]="APPLE_LANGUAGE=en-US"
D [14/Feb/2010:16:58:09 -0800] [Job 14] envp[21]="PPD=/private/etc/cups/ppd/Officejet_6500_E709n__8D9832_.ppd"
D [14/Feb/2010:16:58:09 -0800] [Job 14] envp[22]="RIP_MAX_CACHE=8m"
D [14/Feb/2010:16:58:09 -0800] [Job 14] envp[23]="CONTENT_TYPE=application/postscript"
D [14/Feb/2010:16:58:09 -0800] [Job 14] envp[24]="DEVICE_URI=dnssd://Officejet%206500%20E709n%20%5B8D9832%5D._pdl-datastream._tcp.local./?bidi"
D [14/Feb/2010:16:58:09 -0800] [Job 14] envp[25]="PRINTER_INFO=Officejet 6500 E709n [8D9832]"
D [14/Feb/2010:16:58:09 -0800] [Job 14] envp[26]="PRINTER_LOCATION="
D [14/Feb/2010:16:58:09 -0800] [Job 14] envp[27]="PRINTER=Officejet_6500_E709n__8D9832_"
D [14/Feb/2010:16:58:09 -0800] [Job 14] envp[28]="CUPS_FILETYPE=document"
D [14/Feb/2010:16:58:09 -0800] [Job 14] envp[29]="FINAL_CONTENT_TYPE=printer/Officejet_6500_E709n__8D9832_"
I [14/Feb/2010:16:58:09 -0800] [Job 14] Started filter /usr/libexec/cups/filter/pstoappleps (PID 1885)
I [14/Feb/2010:16:58:09 -0800] [Job 14] Started filter /usr/libexec/cups/filter/pstopdffilter (PID 1886)
I [14/Feb/2010:16:58:09 -0800] [Job 14] Started filter /Library/Printers/hp/cups/Inkjet4.driver/Contents/MacOS/Inkjet4 (PID 1887)
I [14/Feb/2010:16:58:09 -0800] [Job 14] Started backend /usr/libexec/cups/backend/dnssd (PID 1888)
D [14/Feb/2010:16:58:09 -0800] Discarding unused job-state-changed event...
I [14/Feb/2010:16:58:09 -0800] [Job 14] Restarted by "David P. Dapper".
D [14/Feb/2010:16:58:09 -0800] Returning IPP successful-ok for Restart-Job (ipp://localhost/jobs/14) from localhost
D [14/Feb/2010:16:58:09 -0800] [CGI] lang="en_US.UTF8", locale="/en_US"...
D [14/Feb/2010:16:58:09 -0800] cupsdReadClient: 23 WAITING Closing on EOF
D [14/Feb/2010:16:58:09 -0800] cupsdCloseClient: 23
D [14/Feb/2010:16:58:09 -0800] PID 1884 (/usr/libexec/cups/cgi-bin/jobs.cgi) exited with no errors.
D [14/Feb/2010:16:58:09 -0800] Script header: Content-Type: text/html;charset=utf-8
D [14/Feb/2010:16:58:09 -0800] Script header:
D [14/Feb/2010:16:58:09 -0800] [CGI] lang="en_US.UTF8", locale="/en_US"...
D [14/Feb/2010:16:58:09 -0800] [CGI] lang="en_US.UTF8", locale="/en_US"...
D [14/Feb/2010:16:58:09 -0800] cupsdSetBusyState: Printing jobs and dirty files
D [14/Feb/2010:16:58:09 -0800] [Job 14] Resolving "Officejet 6500 E709n [8D9832]._pdl-datastream._tcp.local."...
D [14/Feb/2010:16:58:09 -0800] [Job 14] STATE: +connecting-to-device
D [14/Feb/2010:16:58:09 -0800] [Job 14] Resolving "Officejet 6500 E709n [8D9832]", regtype="_pdl-datastream._tcp", domain="local."...
I [14/Feb/2010:16:58:09 -0800] [Job 14] Looking for printer...
D [14/Feb/2010:16:58:09 -0800] [Job 14] Resolved as "socket://HP8D9832.local.:9100"...
D [14/Feb/2010:16:58:09 -0800] [Job 14] STATE: -connecting-to-device
D [14/Feb/2010:16:58:09 -0800] [Job 14] Executing backend "/usr/libexec/cups/backend/socket"...
D [14/Feb/2010:16:58:09 -0800] Discarding unused printer-state-changed event...
D [14/Feb/2010:16:58:09 -0800] Discarding unused job-progress event...
D [14/Feb/2010:16:58:09 -0800] [Job 14] STATE: +connecting-to-device
D [14/Feb/2010:16:58:09 -0800] [Job 14] Looking up "HP8D9832.local."...
D [14/Feb/2010:16:58:09 -0800] Discarding unused printer-state-changed event...
D [14/Feb/2010:16:58:09 -0800] [Job 14] Connecting to HP8D9832.local.:9100
I [14/Feb/2010:16:58:09 -0800] [Job 14] Connecting to printer...
D [14/Feb/2010:16:58:09 -0800] Discarding unused printer-state-changed event...
D [14/Feb/2010:16:58:09 -0800] Discarding unused job-progress event...
D [14/Feb/2010:16:58:09 -0800] [Job 14] STATE: -connecting-to-device
I [14/Feb/2010:16:58:09 -0800] [Job 14] Connected to printer...
D [14/Feb/2010:16:58:09 -0800] [Job 14] Connected to 10.0.1.7:9100 (IPv4)...
D [14/Feb/2010:16:58:09 -0800] Discarding unused printer-state-changed event...
D [14/Feb/2010:16:58:09 -0800] Discarding unused job-progress event...
D [14/Feb/2010:16:58:10 -0800] cupsdAcceptClient: 23 from localhost (Domain)
D [14/Feb/2010:16:58:10 -0800] cupsdReadClient: 23 POST / HTTP/1.1
D [14/Feb/2010:16:58:10 -0800] cupsdSetBusyState: Active clients, printing jobs, and dirty files
D [14/Feb/2010:16:58:10 -0800] cupsdAuthorize: No authentication data provided.
D [14/Feb/2010:16:58:10 -0800] cupsdReadClient: 23 1.1 Get-Jobs 1
D [14/Feb/2010:16:58:10 -0800] Get-Jobs ipp://localhost:631/printers/Officejet_6500_E709n__8D9832_
D [14/Feb/2010:16:58:10 -0800] Returning IPP successful-ok for Get-Jobs (ipp://localhost:631/printers/Officejet_6500_E709n__8D9832_) from localhost
D [14/Feb/2010:16:58:10 -0800] cupsdSetBusyState: Printing jobs and dirty files
D [14/Feb/2010:16:58:10 -0800] cupsdReadClient: 23 WAITING Closing on EOF
D [14/Feb/2010:16:58:10 -0800] cupsdCloseClient: 23
D [14/Feb/2010:16:58:10 -0800] cupsdReadClient: 19 POST / HTTP/1.1
D [14/Feb/2010:16:58:10 -0800] cupsdSetBusyState: Active clients, printing jobs, and dirty files
D [14/Feb/2010:16:58:10 -0800] cupsdAuthorize: Authorized as "David" using AuthRef
D [14/Feb/2010:16:58:10 -0800] cupsdReadClient: 19 1.1 Get-Printer-Attributes 1
D [14/Feb/2010:16:58:10 -0800] Get-Printer-Attributes ipp://localhost/printers/Officejet_6500_E709n__8D9832_
D [14/Feb/2010:16:58:10 -0800] Returning IPP successful-ok for Get-Printer-Attributes (ipp://localhost/printers/Officejet_6500_E709n__8D9832_) from localhost
D [14/Feb/2010:16:58:10 -0800] cupsdSetBusyState: Printing jobs and dirty files
D [14/Feb/2010:16:58:10 -0800] cupsdReadClient: 19 POST / HTTP/1.1
D [14/Feb/2010:16:58:10 -0800] cupsdSetBusyState: Active clients, printing jobs, and dirty files
D [14/Feb/2010:16:58:10 -0800] cupsdAuthorize: Authorized as "David" using AuthRef
D [14/Feb/2010:16:58:10 -0800] cupsdReadClient: 19 1.1 Get-Printer-Attributes 1
D [14/Feb/2010:16:58:10 -0800] Get-Printer-Attributes ipp://localhost:631/printers/Officejet_6500_E709n__8D9832_
D [14/Feb/2010:16:58:10 -0800] Returning IPP successful-ok for Get-Printer-Attributes (ipp://localhost:631/printers/Officejet_6500_E709n__8D9832_) from localhost
D [14/Feb/2010:16:58:10 -0800] cupsdSetBusyState: Printing jobs and dirty files
D [14/Feb/2010:16:58:10 -0800] [Job 14] backendRunLoop(print_fd=0, device_fd=5, snmp_fd=8, addr=0x100109608, use_bc=1, side_cb=0x10992e5ec)
D [14/Feb/2010:16:58:10 -0800] [Job 14] Writing PageSize code width = 612.000000, height = 792.000000
D [14/Feb/2010:16:58:10 -0800] PID 1885 (/usr/libexec/cups/filter/pstoappleps) exited with no errors.
D [14/Feb/2010:16:58:10 -0800] [Job 14] %%[ Error: undefined; OffendingCommand: 2W0Fx0-0t1 ]%%
D [14/Feb/2010:16:58:10 -0800] [Job 14]
D [14/Feb/2010:16:58:10 -0800] [Job 14] %%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
D [14/Feb/2010:16:58:10 -0800] [Job 14]
D [14/Feb/2010:16:58:10 -0800] [Job 14] %%[ Warning: PostScript error. No PDF file produced. ] %%
D [14/Feb/2010:16:58:10 -0800] [Job 14]
E [14/Feb/2010:16:58:10 -0800] [Job 14] pstopdffilter/pstocupsraster failed with err number -31000
D [14/Feb/2010:16:58:10 -0800] [Job 14] Set job-printer-state-message to "pstopdffilter/pstocupsraster failed with err number -31000", current level=ERROR
D [14/Feb/2010:16:58:10 -0800] Discarding unused printer-state-changed event...
D [14/Feb/2010:16:58:10 -0800] Discarding unused job-progress event...
D [14/Feb/2010:16:58:10 -0800] PID 1886 (/usr/libexec/cups/filter/pstopdffilter) stopped with status 1!





More information about the cups-devel mailing list