CUPS Printer error
Hi,
I've installed a Epson POS-Printer on my mac, the driver is a PPD-File and a raster-filter. If I try to print, I always get an error in the log:
printer-state-message="cgpdftoraster: cupsRasterInterpretPPD had an error: Unknown operator "sethalftone"!"
Any idea what should I do? It seems, that CUPS is unable to parse the PPD. Some Brother printers have the same problems, but I can't use alternative drivers.
As a follow up, I did locate what I believe you are using for a printer driver. I found it on the http://www.custom.biz/eng/support/download.aspx download site. I do not see any Mac OS X drivers listed. The closest I could find was for Linux. The rastertovkp80 filter included in the Linux package cannot be used for Mac OS X. It is compiled specifically for Linux.
If you have a source for a Mac OS X driver, please post it so we can evaluate it and try to get your printer working in Mac OS X.
Similar Messages
-
Canon IR-Adv 5045 printing error 'Filter' failed
I just upgrade our office to include 7 new Mac Pro towers and one iMac. All of the towers had no problems when upgrading the print drivers for our Canon printer. The iMac (only) returns a print error and will not print to the device. If anyone can read the error code in the consule and direct me how to fix the error I would greatly appreciate it.
Here is the concole error:
It first states: mdworker: Unable to talk to lsboxd
mdworker(443) deny mach-lookup com.apple.ls.boxd
Process: mdworker [443]
Path: /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework /Versions/A/Support/mdworker
Load Address: 0x101f91000
Identifier: mdworker
Version: ??? (???)
Code Type: x86_64 (Native)
Parent Process: launchd [202]
Date/Time: 2013-01-29 10:47:56.599 -0500
OS Version: Mac OS X 10.8.2 (12C2037)
Report Version: 8
Thread 0:
0 libsystem_kernel.dylib 0x00007fff92443686 mach_msg_trap + 10
1 CoreFoundation 0x00007fff967a7803 __CFRunLoopServiceMachPort + 195
2 CoreFoundation 0x00007fff967acee6 __CFRunLoopRun + 1078
3 CoreFoundation 0x00007fff967ac6b2 CFRunLoopRunSpecific + 290
4 CoreFoundation 0x00007fff967bb371 CFRunLoopRun + 97
5 mdworker 0x0000000101f99ba9
6 libdyld.dylib 0x00007fff94afc7e1 start + 0
Thread 1:
0 libsystem_kernel.dylib 0x00007fff92445d16 kevent + 10
1 libdispatch.dylib 0x00007fff92a549ee _dispatch_mgr_thread + 54
Thread 2:
0 libsystem_kernel.dylib 0x00007fff92443686 mach_msg_trap + 10
1 liblaunch.dylib 0x00007fff930ba7c4
2 liblaunch.dylib 0x00007fff930b94d9 bootstrap_look_up3 + 69
3 libxpc.dylib 0x00007fff95652c21 _xpc_connection_bootstrap_look_up_slow + 371
4 libxpc.dylib 0x00007fff95651c82 _xpc_connection_init + 1062
5 libdispatch.dylib 0x00007fff92a520b6 _dispatch_client_callout + 8
6 libdispatch.dylib 0x00007fff92a5347f _dispatch_queue_drain + 235
7 libdispatch.dylib 0x00007fff92a532f1 _dispatch_queue_invoke + 52
8 libdispatch.dylib 0x00007fff92a53448 _dispatch_queue_drain + 180
9 libdispatch.dylib 0x00007fff92a532f1 _dispatch_queue_invoke + 52
10 libdispatch.dylib 0x00007fff92a531c3 _dispatch_worker_thread2 + 249
11 libsystem_c.dylib 0x00007fff946b7cab _pthread_wqthread + 404
12 libsystem_c.dylib 0x00007fff946a2171 start_wqthread + 13
Thread 3:
0 libsystem_kernel.dylib 0x00007fff924436c2 semaphore_wait_trap + 10
1 libxpc.dylib 0x00007fff95654e1f xpc_connection_send_message_with_reply_sync + 127
2 LaunchServices 0x00007fff94fcf3ce send(LSBoxMessage&, LSBoxMessage&) + 28
3 LaunchServices 0x00007fff9504fd4b lsbox_preflightAppLaunch + 84
4 LaunchServices 0x00007fff94fda341 _LSFindOrRegisterBundleNode + 857
5 LaunchServices 0x00007fff95036b02 _LSRegisterNode + 75
6 LaunchServices 0x00007fff94fe2a0f _LSBundleCopyOrCheckNode + 1047
7 LaunchServices 0x00007fff94fca5b6 _LSCopyLibraryItemURLs + 486
8 mdworker 0x0000000101fc1014
9 libdispatch.dylib 0x00007fff92a55f01 _dispatch_call_block_and_release + 15
10 libdispatch.dylib 0x00007fff92a520b6 _dispatch_client_callout + 8
11 libdispatch.dylib 0x00007fff92a5347f _dispatch_queue_drain + 235
12 libdispatch.dylib 0x00007fff92a532f1 _dispatch_queue_invoke + 52
13 libdispatch.dylib 0x00007fff92a531c3 _dispatch_worker_thread2 + 249
14 libsystem_c.dylib 0x00007fff946b7cab _pthread_wqthread + 404
15 libsystem_c.dylib 0x00007fff946a2171 start_wqthread + 13
Thread 4:
0 libsystem_kernel.dylib 0x00007fff924456d6 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff946b7cb3 _pthread_wqthread + 412
2 libsystem_c.dylib 0x00007fff946a2171 start_wqthread + 13
Thread 5:
Binary Images:
0x101f91000 - 0x101feaff7 mdworker (707.3) <16ABDF29-6F80-3D48-8518-2650891685C3> /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework /Versions/A/Support/mdworker
0x7fff92433000 - 0x7fff9244eff7 libsystem_kernel.dylib (2050.20.9) <EC0A9F5B-C9F5-336B-A7DD-49A718042F39> /usr/lib/system/libsystem_kernel.dylib
0x7fff92a50000 - 0x7fff92a65ff7 libdispatch.dylib (228.23) <D26996BF-FC57-39EB-8829-F63585561E09> /usr/lib/system/libdispatch.dylib
0x7fff930b7000 - 0x7fff930bffff liblaunch.dylib (442.26.2) <2F71CAF8-6524-329E-AC56-C506658B4C0C> /usr/lib/system/liblaunch.dylib
0x7fff946a1000 - 0x7fff9476dfe7 libsystem_c.dylib (825.25) <3B1FE674-F556-3B3F-922A-FEEF222576D8> /usr/lib/system/libsystem_c.dylib
0x7fff94afa000 - 0x7fff94afdff7 libdyld.dylib (210.2.3) <F59367C9-C110-382B-A695-9035A6DD387E> /usr/lib/system/libdyld.dylib
0x7fff94fc6000 - 0x7fff95077fff com.apple.LaunchServices (539.7 - 539.7) <DA7C602E-5E01-31B8-925D-B45360CA089F> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchS ervices.framework/Versions/A/LaunchServices
0x7fff95649000 - 0x7fff9566bff7 libxpc.dylib (140.41) <FAC04D8B-680E-325F-8F0C-DD69859D0E01> /usr/lib/system/libxpc.dylib
0x7fff96778000 - 0x7fff96961fff com.apple.CoreFoundation (6.8 - 744.12) <EF002794-DAEF-31C6-866C-E3E3AC387A9F> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundationHere is the CUPS error log:
E [29/Jan/2013:10:48:02 -0500] [Job 2] Job stopped due to filter errors; please consult the error_log file for details.
D [29/Jan/2013:10:48:02 -0500] [Job 2] The following messages were recorded from 10:47:57 to 10:48:02
D [29/Jan/2013:10:48:02 -0500] [Job 2] Adding start banner page "none".
D [29/Jan/2013:10:48:02 -0500] [Job 2] Queued on "Canon_iR_ADV_C5000s_B1_PSV1_0US" by "brian".
D [29/Jan/2013:10:48:02 -0500] [Job 2] File of type application/postscript queued by "brian".
D [29/Jan/2013:10:48:02 -0500] [Job 2] Adding end banner page "none".
D [29/Jan/2013:10:48:02 -0500] [Job 2] time-at-processing=1359474477
D [29/Jan/2013:10:48:02 -0500] [Job 2] job-sheets=none,none
D [29/Jan/2013:10:48:02 -0500] [Job 2] argv[0]="Canon_iR_ADV_C5000s_B1_PSV1_0US"
D [29/Jan/2013:10:48:02 -0500] [Job 2] argv[1]="2"
D [29/Jan/2013:10:48:02 -0500] [Job 2] argv[2]="brian"
D [29/Jan/2013:10:48:02 -0500] [Job 2] argv[3]="Option 1.pdf"
D [29/Jan/2013:10:48:02 -0500] [Job 2] argv[4]="1"
D [29/Jan/2013:10:48:02 -0500] [Job 2] argv[5]="AP_ColorMatchingMode=AP_ApplicationColorMatching AP_D_InputSlot= collate com.apple.print.DocumentTicket.PMSpoolFormat=application/pdf com.apple.print.JobInfo.PMJobName=Option\ 1.pdf com.apple.print.PrinterInfo.PMColorDeviceID..n.=37710 com.apple.print.PrintSettings.PMColorMatchingMode..n.=0 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=Tabloid orientation-requested=4 pserrorhandler-requested=standard job-uuid=urn:uuid:eed84498-012e-3160-595d-d100c17e0632 job-originating-host-name=localhost time-at-creation=1359474477 time-at-processing=1359474477 PageSize=Tabloid"
D [29/Jan/2013:10:48:02 -0500] [Job 2] argv[6]="/private/var/spool/cups/d00002-001"
D [29/Jan/2013:10:48:02 -0500] [Job 2] envp[0]="<CFProcessPath>"
D [29/Jan/2013:10:48:02 -0500] [Job 2] envp[1]="CUPS_CACHEDIR=/private/var/spool/cups/cache"
D [29/Jan/2013:10:48:02 -0500] [Job 2] envp[2]="CUPS_DATADIR=/usr/share/cups"
D [29/Jan/2013:10:48:02 -0500] [Job 2] envp[3]="CUPS_DOCROOT=/usr/share/doc/cups"
D [29/Jan/2013:10:48:02 -0500] [Job 2] envp[4]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [29/Jan/2013:10:48:02 -0500] [Job 2] envp[5]="CUPS_REQUESTROOT=/private/var/spool/cups"
D [29/Jan/2013:10:48:02 -0500] [Job 2] envp[6]="CUPS_SERVERBIN=/usr/libexec/cups"
D [29/Jan/2013:10:48:02 -0500] [Job 2] envp[7]="CUPS_SERVERROOT=/private/etc/cups"
D [29/Jan/2013:10:48:02 -0500] [Job 2] envp[8]="CUPS_STATEDIR=/private/etc/cups"
D [29/Jan/2013:10:48:02 -0500] [Job 2] envp[9]="HOME=/private/var/spool/cups/tmp"
D [29/Jan/2013:10:48:02 -0500] [Job 2] envp[10]="PATH=/usr/libexec/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [29/Jan/2013:10:48:02 -0500] [Job 2] envp[11]="SERVER_ADMIN=root@localhost"
D [29/Jan/2013:10:48:02 -0500] [Job 2] envp[12]="SOFTWARE=CUPS/1.6svn"
D [29/Jan/2013:10:48:02 -0500] [Job 2] envp[13]="TMPDIR=/private/var/spool/cups/tmp"
D [29/Jan/2013:10:48:02 -0500] [Job 2] envp[14]="USER=root"
D [29/Jan/2013:10:48:02 -0500] [Job 2] envp[15]="CUPS_MAX_MESSAGE=2047"
D [29/Jan/2013:10:48:02 -0500] [Job 2] envp[16]="CUPS_SERVER=/private/var/run/cupsd"
D [29/Jan/2013:10:48:02 -0500] [Job 2] envp[17]="CUPS_ENCRYPTION=IfRequested"
D [29/Jan/2013:10:48:02 -0500] [Job 2] envp[18]="IPP_PORT=631"
D [29/Jan/2013:10:48:02 -0500] [Job 2] envp[19]="CHARSET=utf-8"
D [29/Jan/2013:10:48:02 -0500] [Job 2] envp[20]="LANG=en_US.UTF-8"
D [29/Jan/2013:10:48:02 -0500] [Job 2] envp[21]="APPLE_LANGUAGE=en-US"
D [29/Jan/2013:10:48:02 -0500] [Job 2] envp[22]="PPD=/private/etc/cups/ppd/Canon_iR_ADV_C5000s_B1_PSV1_0US.ppd"
D [29/Jan/2013:10:48:02 -0500] [Job 2] envp[23]="RIP_MAX_CACHE=128m"
D [29/Jan/2013:10:48:02 -0500] [Job 2] envp[24]="CONTENT_TYPE=application/postscript"
D [29/Jan/2013:10:48:02 -0500] [Job 2] envp[25]="DEVICE_URI=dnssd://Canon%20iR-ADV%20C5000s-B1%20PSV1.0US._printer._tc p.local./"
D [29/Jan/2013:10:48:02 -0500] [Job 2] envp[26]="PRINTER_INFO=Canon iR-ADV C5000s-B1 PSV1.0US"
D [29/Jan/2013:10:48:02 -0500] [Job 2] envp[27]="PRINTER_LOCATION="
D [29/Jan/2013:10:48:02 -0500] [Job 2] envp[28]="PRINTER=Canon_iR_ADV_C5000s_B1_PSV1_0US"
D [29/Jan/2013:10:48:02 -0500] [Job 2] envp[29]="PRINTER_STATE_REASONS=none"
D [29/Jan/2013:10:48:02 -0500] [Job 2] envp[30]="CUPS_FILETYPE=document"
D [29/Jan/2013:10:48:02 -0500] [Job 2] envp[31]="FINAL_CONTENT_TYPE=printer/Canon_iR_ADV_C5000s_B1_PSV1_0US"
D [29/Jan/2013:10:48:02 -0500] [Job 2] envp[32]="AUTH_I****"
D [29/Jan/2013:10:48:02 -0500] [Job 2] Started filter /usr/libexec/cups/filter/pstops (PID 447)
D [29/Jan/2013:10:48:02 -0500] [Job 2] Started filter /Library/Printers/Canon/PS3/PDEs/EF118958/fierycupsfilter (PID 448)
D [29/Jan/2013:10:48:02 -0500] [Job 2] Started backend /usr/libexec/cups/backend/dnssd (PID 449)
D [29/Jan/2013:10:48:02 -0500] [Job 2] execv failed: Permission denied
D [29/Jan/2013:10:48:02 -0500] [Job 2] PID 448 (/Library/Printers/Canon/PS3/PDEs/EF118958/fierycupsfilter) stopped with status 1.
D [29/Jan/2013:10:48:02 -0500] [Job 2] Hint: Try setting the LogLevel to "debug" to find out more.
D [29/Jan/2013:10:48:02 -0500] [Job 2] Resolving "Canon iR-ADV C5000s-B1 PSV1.0US._printer._tcp.local."...
D [29/Jan/2013:10:48:02 -0500] [Job 2] STATE: +connecting-to-device
D [29/Jan/2013:10:48:02 -0500] [Job 2] Resolving "Canon iR-ADV C5000s-B1 PSV1.0US", regtype="_printer._tcp", domain="local."...
D [29/Jan/2013:10:48:02 -0500] [Job 2] Looking for printer.
D [29/Jan/2013:10:48:02 -0500] [Job 2] Page = 792x1224; 7,11 to 785,1213
D [29/Jan/2013:10:48:02 -0500] [Job 2] slow_collate=0, slow_duplex=0, slow_order=0
D [29/Jan/2013:10:48:02 -0500] [Job 2] Before copy_comments - %!PS-Adobe-3.1
D [29/Jan/2013:10:48:02 -0500] [Job 2] %!PS-Adobe-3.1
D [29/Jan/2013:10:48:02 -0500] [Job 2] %ADO_DSC_Encoding: UTF8
D [29/Jan/2013:10:48:02 -0500] [Job 2] %%Title: (Option 1.pdf)
D [29/Jan/2013:10:48:02 -0500] [Job 2] %%Creator: (Adobe Acrobat 11.0.1)
D [29/Jan/2013:10:48:02 -0500] [Job 2] %%For: brian
D [29/Jan/2013:10:48:02 -0500] [Job 2] %%CreationDate: 1/29/13, 10:47 AM
D [29/Jan/2013:10:48:02 -0500] [Job 2] %%BoundingBox: 11 7 1213 785
D [29/Jan/2013:10:48:02 -0500] [Job 2] %%HiResBoundingBox: 11.3400 7.3376 1212.6600 784.6624
D [29/Jan/2013:10:48:02 -0500] [Job 2] %%CropBox: 11.3400 7.3376 1212.6600 784.6624
D [29/Jan/2013:10:48:02 -0500] [Job 2] %%LanguageLevel: 3
D [29/Jan/2013:10:48:02 -0500] [Job 2] %%DocumentNeededResources: (atend)
D [29/Jan/2013:10:48:02 -0500] [Job 2] %%DocumentSuppliedResources: (atend)
D [29/Jan/2013:10:48:02 -0500] [Job 2] %%DocumentNeededFeatures: (atend)
D [29/Jan/2013:10:48:02 -0500] [Job 2] %%DocumentSuppliedFeatures: (atend)
D [29/Jan/2013:10:48:02 -0500] [Job 2] %%DocumentData: Clean7Bit
D [29/Jan/2013:10:48:02 -0500] [Job 2] %%PageOrder: Ascend
D [29/Jan/2013:10:48:02 -0500] [Job 2] %%TargetDevice: (Canon iR-ADV C5000s-B1 PSV1.0US) (3017.102) 1
D [29/Jan/2013:10:48:02 -0500] [Job 2] %%Pages: (atend)
D [29/Jan/2013:10:48:02 -0500] [Job 2] %%DocumentProcessColors: (atend)
D [29/Jan/2013:10:48:02 -0500] [Job 2] %%DocumentCustomColors: (atend)
D [29/Jan/2013:10:48:02 -0500] [Job 2] %%EndComments
D [29/Jan/2013:10:48:02 -0500] [Job 2] Before copy_prolog - %%BeginDefaults
D [29/Jan/2013:10:48:02 -0500] [Job 2] Before copy_setup - %%BeginSetup
D [29/Jan/2013:10:48:02 -0500] [Job 2] Before page loop - %%Page: 1 1
D [29/Jan/2013:10:48:02 -0500] [Job 2] Copying page 1...
D [29/Jan/2013:10:48:02 -0500] [Job 2] pagew = 1201.3, pagel = 777.8
D [29/Jan/2013:10:48:02 -0500] [Job 2] bboxx = 0, bboxy = 0, bboxw = 1224, bboxl = 792
D [29/Jan/2013:10:48:02 -0500] [Job 2] PageLeft = 11.3, PageRight = 1212.7
D [29/Jan/2013:10:48:02 -0500] [Job 2] PageTop = 784.9, PageBottom = 7.1
D [29/Jan/2013:10:48:02 -0500] [Job 2] PageWidth = 1224.0, PageLength = 792.0
D [29/Jan/2013:10:48:02 -0500] [Job 2] Wrote 1 pages...
D [29/Jan/2013:10:48:02 -0500] [Job 2] PID 447 (/usr/libexec/cups/filter/pstops) exited with no errors.
D [29/Jan/2013:10:48:02 -0500] [Job 2] Resolved as "lpd://CanonC5045.local.:515/print"...
D [29/Jan/2013:10:48:02 -0500] [Job 2] STATE: -connecting-to-device,offline-report
D [29/Jan/2013:10:48:02 -0500] [Job 2] Executing backend "/usr/libexec/cups/backend/lpd"...
D [29/Jan/2013:10:48:02 -0500] [Job 2] STATE: +connecting-to-device
D [29/Jan/2013:10:48:02 -0500] [Job 2] Looking up "CanonC5045.local."...
D [29/Jan/2013:10:48:02 -0500] [Job 2] backendWaitLoop(snmp_fd=5, addr=0x7f8d70c0dba8, side_cb=0x10bb23a13)
D [29/Jan/2013:10:48:02 -0500] [Job 2] PID 449 (/usr/libexec/cups/backend/dnssd) exited with no errors.
D [29/Jan/2013:10:48:02 -0500] [Job 2] End of messages
D [29/Jan/2013:10:48:02 -0500] [Job 2] printer-state=3(idle)
D [29/Jan/2013:10:48:02 -0500] [Job 2] printer-state-message="Looking for printer."
D [29/Jan/2013:10:48:02 -0500] [Job 2] printer-state-reasons=none -
InDesign CS3 pstopdffilter Printing Error on Intel Mac
I'm having a problem printing in InDesign, now that I've upgraded to CS3. I've uninstalled all Adobe products and reinstalled, and I was able to print, but had a printer error on another printer, and now I am having the same "pstopdffilter" error as before. I'd rather not have to keep un-installing and re-installing to fix it. Is there any thing else I can do?
It is a Intel iMac, running OS X (10.4.9). Haven't had this problem with our older G4 and CS3.
Any suggestions?If the same printer works as expected printing from the same application on a newer version of the operating system, then it sounds like the necessary solution is to upgrade the operating system. InDesign, along with other Adobe Graphics Manager (AGM) Print clients (Illustrator CS3+ and Acrobat 9+), tend to use Apple's print interfaces in ways that are more complicated than most other applications. So you may see a problem only in InDesign, but the issue may be addressed by changes in the OS print architecture. In addition, specific printers interact with the OS print architecture differently. Some printers still in use do not use CUPS-based drivers, thus requiring an additional translation layer. It's all very complicated</understandment>.
Also, printers that are identified as PostScript devices will not allow the Print as Bitmap option to be chosen. That function uses the Mac non-PS print methods.
Sincerely,
Matthew -
Canon MF5950dw throwing Stopped - 'filter' failed printer error
We just bought a Canon MF5950dw printer, and on a MBA running 10.8.2 when we try to print anything over the network, it'll stop with the error: Stopped - 'filter' failed.
I've:
repairing permissions from the rescue disk
tried deleting and re-adding the printer
uninstalled and reinstalled the drivers
reset the CUPS printing system
and nothing has helped. The MBA has no problem printing to our old printers. It works fine on the my MBP running 10.8.2 and our Windows 7 machines. It persists whether I set it up as a Bonjour printer or an IP printer.
Anyone know how to fix this? thanks!
Below is the cups error_log:
E [19/Jan/2013:16:29:39 -0500] [Job 6] Job stopped due to filter errors; please consult the error_log file for details.
D [19/Jan/2013:16:29:39 -0500] [Job 6] The following messages were recorded from 16:29:38 to 16:29:39
D [19/Jan/2013:16:29:39 -0500] [Job 6] Adding start banner page "none".
D [19/Jan/2013:16:29:39 -0500] [Job 6] Queued on "Canon_MF5900_Series" by "kelly".
D [19/Jan/2013:16:29:39 -0500] [Job 6] Auto-typing file...
D [19/Jan/2013:16:29:39 -0500] [Job 6] Request file type is application/vnd.cups-banner.
D [19/Jan/2013:16:29:39 -0500] [Job 6] File of type application/vnd.cups-banner queued by "kelly".
D [19/Jan/2013:16:29:39 -0500] [Job 6] Adding end banner page "none".
D [19/Jan/2013:16:29:39 -0500] [Job 6] time-at-processing=1358630978
D [19/Jan/2013:16:29:39 -0500] [Job 6] job-sheets=none,none
D [19/Jan/2013:16:29:39 -0500] [Job 6] argv[0]="Canon_MF5900_Series"
D [19/Jan/2013:16:29:39 -0500] [Job 6] argv[1]="6"
D [19/Jan/2013:16:29:39 -0500] [Job 6] argv[2]="kelly"
D [19/Jan/2013:16:29:39 -0500] [Job 6] argv[3]="testprint"
D [19/Jan/2013:16:29:39 -0500] [Job 6] argv[4]="1"
D [19/Jan/2013:16:29:39 -0500] [Job 6] argv[5]="AP_ColorMatchingMode=AP_ApplicationColorMatching AP_D_InputSlot= collate com.apple.print.DocumentTicket.PMSpoolFormat=application/pdf com.apple.print.JobInfo.PMJobName=testprint com.apple.print.PrinterInfo.PMColorDeviceID..n.=16929 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 fit-to-page media=Letter pserrorhandler-requested=standard job-uuid=urn:uuid:62e1ae28-d482-3786-78e4-bade79b0939a job-originating-host-name=localhost time-at-creation=1358630978 time-at-processing=1358630978 PageSize=Letter"
D [19/Jan/2013:16:29:39 -0500] [Job 6] argv[6]="/private/var/spool/cups/d00006-001"
D [19/Jan/2013:16:29:39 -0500] [Job 6] envp[0]="<CFProcessPath>"
D [19/Jan/2013:16:29:39 -0500] [Job 6] envp[1]="CUPS_CACHEDIR=/private/var/spool/cups/cache"
D [19/Jan/2013:16:29:39 -0500] [Job 6] envp[2]="CUPS_DATADIR=/usr/share/cups"
D [19/Jan/2013:16:29:39 -0500] [Job 6] envp[3]="CUPS_DOCROOT=/usr/share/doc/cups"
D [19/Jan/2013:16:29:39 -0500] [Job 6] envp[4]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [19/Jan/2013:16:29:39 -0500] [Job 6] envp[5]="CUPS_REQUESTROOT=/private/var/spool/cups"
D [19/Jan/2013:16:29:39 -0500] [Job 6] envp[6]="CUPS_SERVERBIN=/usr/libexec/cups"
D [19/Jan/2013:16:29:39 -0500] [Job 6] envp[7]="CUPS_SERVERROOT=/private/etc/cups"
D [19/Jan/2013:16:29:39 -0500] [Job 6] envp[8]="CUPS_STATEDIR=/private/etc/cups"
D [19/Jan/2013:16:29:39 -0500] [Job 6] envp[9]="HOME=/private/var/spool/cups/tmp"
D [19/Jan/2013:16:29:39 -0500] [Job 6] envp[10]="PATH=/usr/libexec/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [19/Jan/2013:16:29:39 -0500] [Job 6] envp[11]="SERVER_ADMIN=root@localhost"
D [19/Jan/2013:16:29:39 -0500] [Job 6] envp[12]="SOFTWARE=CUPS/1.6svn"
D [19/Jan/2013:16:29:39 -0500] [Job 6] envp[13]="TMPDIR=/private/var/spool/cups/tmp"
D [19/Jan/2013:16:29:39 -0500] [Job 6] envp[14]="USER=root"
D [19/Jan/2013:16:29:39 -0500] [Job 6] envp[15]="CUPS_MAX_MESSAGE=2047"
D [19/Jan/2013:16:29:39 -0500] [Job 6] envp[16]="CUPS_SERVER=/private/var/run/cupsd"
D [19/Jan/2013:16:29:39 -0500] [Job 6] envp[17]="CUPS_ENCRYPTION=IfRequested"
D [19/Jan/2013:16:29:39 -0500] [Job 6] envp[18]="IPP_PORT=631"
D [19/Jan/2013:16:29:39 -0500] [Job 6] envp[19]="CHARSET=utf-8"
D [19/Jan/2013:16:29:39 -0500] [Job 6] envp[20]="LANG=en_US.UTF-8"
D [19/Jan/2013:16:29:39 -0500] [Job 6] envp[21]="APPLE_LANGUAGE=en-US"
D [19/Jan/2013:16:29:39 -0500] [Job 6] envp[22]="PPD=/private/etc/cups/ppd/Canon_MF5900_Series.ppd"
D [19/Jan/2013:16:29:39 -0500] [Job 6] envp[23]="RIP_MAX_CACHE=128m"
D [19/Jan/2013:16:29:39 -0500] [Job 6] envp[24]="CONTENT_TYPE=application/vnd.cups-banner"
D [19/Jan/2013:16:29:39 -0500] [Job 6] envp[25]="DEVICE_URI=dnssd://Canon%20MF5900%20Series._pdl-datastream._tcp.local ./?bidi"
D [19/Jan/2013:16:29:39 -0500] [Job 6] envp[26]="PRINTER_INFO=Canon MF5900 Series"
D [19/Jan/2013:16:29:39 -0500] [Job 6] envp[27]="PRINTER_LOCATION="
D [19/Jan/2013:16:29:39 -0500] [Job 6] envp[28]="PRINTER=Canon_MF5900_Series"
D [19/Jan/2013:16:29:39 -0500] [Job 6] envp[29]="PRINTER_STATE_REASONS=none"
D [19/Jan/2013:16:29:39 -0500] [Job 6] envp[30]="CUPS_FILETYPE=document"
D [19/Jan/2013:16:29:39 -0500] [Job 6] envp[31]="FINAL_CONTENT_TYPE=printer/Canon_MF5900_Series"
D [19/Jan/2013:16:29:39 -0500] [Job 6] envp[32]="AUTH_I****"
D [19/Jan/2013:16:29:39 -0500] [Job 6] Started filter /usr/libexec/cups/filter/cgbannertopdf (PID 1149)
D [19/Jan/2013:16:29:39 -0500] [Job 6] Started filter /Library/Printers/Canon/CUPS_MF_Printer/Bins/capdftopdl (PID 1150)
D [19/Jan/2013:16:29:39 -0500] [Job 6] Started backend /usr/libexec/cups/backend/dnssd (PID 1151)
D [19/Jan/2013:16:29:39 -0500] [Job 6] capdftopdl start.
D [19/Jan/2013:16:29:39 -0500] [Job 6] Resolving "Canon MF5900 Series._pdl-datastream._tcp.local."...
D [19/Jan/2013:16:29:39 -0500] [Job 6] STATE: +connecting-to-device
D [19/Jan/2013:16:29:39 -0500] [Job 6] Resolving "Canon MF5900 Series", regtype="_pdl-datastream._tcp", domain="local."...
D [19/Jan/2013:16:29:39 -0500] [Job 6] Looking for printer.
D [19/Jan/2013:16:29:39 -0500] [Job 6] Set job-printer-state-message to "Looking for printer.", current level=INFO
D [19/Jan/2013:16:29:39 -0500] [Job 6] Resolved as "socket://Canon0b182e.local.:9100/"...
D [19/Jan/2013:16:29:39 -0500] [Job 6] STATE: -connecting-to-device,offline-report
D [19/Jan/2013:16:29:39 -0500] [Job 6] Executing backend "/usr/libexec/cups/backend/socket"...
D [19/Jan/2013:16:29:39 -0500] [Job 6] load_banner(filename="/private/var/spool/cups/d00006-001")
D [19/Jan/2013:16:29:39 -0500] [Job 6] Page = 612x792; 14,14 to 598,778
D [19/Jan/2013:16:29:39 -0500] [Job 6] STATE: +connecting-to-device
D [19/Jan/2013:16:29:39 -0500] [Job 6] Looking up "Canon0b182e.local."...
D [19/Jan/2013:16:29:39 -0500] [Job 6] hrDeviceDesc="Canon MF5900 Series"
D [19/Jan/2013:16:29:39 -0500] [Job 6] prtMarkerColorantValue.1.1 = "black"
D [19/Jan/2013:16:29:39 -0500] [Job 6] ATTR: marker-colors=#000000
D [19/Jan/2013:16:29:39 -0500] [Job 6] ATTR: marker-names='"Canon CRG119 Black Toner"'
D [19/Jan/2013:16:29:39 -0500] [Job 6] ATTR: marker-types=toner
D [19/Jan/2013:16:29:39 -0500] [Job 6] ATTR: marker-levels=100
D [19/Jan/2013:16:29:39 -0500] [Job 6] new_supply_state=0, change_state=ffff
D [19/Jan/2013:16:29:39 -0500] [Job 6] STATE: -developer-low-report
D [19/Jan/2013:16:29:39 -0500] [Job 6] STATE: -developer-empty-warning
D [19/Jan/2013:16:29:39 -0500] [Job 6] STATE: -marker-supply-low-report
D [19/Jan/2013:16:29:39 -0500] [Job 6] STATE: -marker-supply-empty-warning
D [19/Jan/2013:16:29:39 -0500] [Job 6] STATE: -opc-near-eol-report
D [19/Jan/2013:16:29:39 -0500] [Job 6] STATE: -opc-life-over-warning
D [19/Jan/2013:16:29:39 -0500] [Job 6] STATE: -toner-low-report
D [19/Jan/2013:16:29:39 -0500] [Job 6] STATE: -toner-empty-warning
D [19/Jan/2013:16:29:39 -0500] [Job 6] STATE: -waste-receptacle-almost-full-report
D [19/Jan/2013:16:29:39 -0500] [Job 6] STATE: -waste-receptacle-full-warning
D [19/Jan/2013:16:29:39 -0500] [Job 6] STATE: -cleaner-life-almost-over-report
D [19/Jan/2013:16:29:39 -0500] [Job 6] STATE: -cleaner-life-over-warning
D [19/Jan/2013:16:29:39 -0500] [Job 6] new_state=0, change_state=ffff
D [19/Jan/2013:16:29:39 -0500] [Job 6] STATE: -media-empty-warning
D [19/Jan/2013:16:29:39 -0500] [Job 6] STATE: -door-open-report
D [19/Jan/2013:16:29:39 -0500] [Job 6] STATE: -media-jam-warning
D [19/Jan/2013:16:29:39 -0500] [Job 6] STATE: -input-tray-missing-warning
D [19/Jan/2013:16:29:39 -0500] [Job 6] STATE: -output-tray-missing-warning
D [19/Jan/2013:16:29:39 -0500] [Job 6] STATE: -marker-supply-missing-warning
D [19/Jan/2013:16:29:39 -0500] [Job 6] STATE: -output-area-almost-full-report
D [19/Jan/2013:16:29:39 -0500] [Job 6] STATE: -output-area-full-warning
D [19/Jan/2013:16:29:39 -0500] [Job 6] backendWaitLoop(snmp_fd=5, addr=0x7fe17b410178, side_cb=0x10a2e1013)
D [19/Jan/2013:16:29:39 -0500] [Job 6] align for banner 1.
D [19/Jan/2013:16:29:39 -0500] [Job 6] align for banner 1.
D [19/Jan/2013:16:29:39 -0500] [Job 6] PID 1149 (/usr/libexec/cups/filter/cgbannertopdf) exited with no errors.
D [19/Jan/2013:16:29:39 -0500] [Job 6] STATE: -com.canon.unsupportedsize-error
D [19/Jan/2013:16:29:39 -0500] [Job 6] PID 1151 (/usr/libexec/cups/backend/dnssd) exited with no errors.
D [19/Jan/2013:16:29:39 -0500] [Job 6] PID 1150 (/Library/Printers/Canon/CUPS_MF_Printer/Bins/capdftopdl) stopped with status 1.
D [19/Jan/2013:16:29:39 -0500] [Job 6] Hint: Try setting the LogLevel to "debug" to find out more.
D [19/Jan/2013:16:29:39 -0500] [Job 6] End of messages
D [19/Jan/2013:16:29:39 -0500] [Job 6] printer-state=3(idle)
D [19/Jan/2013:16:29:39 -0500] [Job 6] printer-state-message="Filter failed"
D [19/Jan/2013:16:29:39 -0500] [Job 6] printer-state-reasons=noneMaybe this will help:
https://discussions.apple.com/thread/4158755?tstart=0
If you monitor the "More Like This" box (top right), other threads appear. Opening them usually displays other threads. -
Printing Error - pstopdffilter/pstocupsraster failed with err number -31000
Hi All,
I'm hoping someone could assist me with this. After googling like crazy for a solution I thought I had to post here on the forums. I'm a new Mac user (only a few days now) so please bear with me. I will also post this on the Java Forums because I don't know if this is a problem with my code or with the Mac settings.
Setup
I've got a Java Applet running on the mac (written in Eclipse 64 bit) on a Mac with OS X 10.6.4 on. Also, Java 1.6.0_21 (both 32 bit and 64 bit) is installed on the machine. The printer installed is a ZPL Label Printer (Zebra Technologies ZTC GK420d).
If I use another application such as TextEdit to print, it works fine.
*Problem Description*
Whenever I try print from the Applet nothing comes from the printer, my code does not break or catch any exception at all but the printer queue gives the error: *pstopdffilter/pstocupsraster failed with err number -31000.*
Code
The code I use with this Java Applet works absolutely fine on Windows XP 32 bit (IE 7.0, Google Chrome and Firefox) as well as on Windows 7 64 bit (I.E 8.0, Google Chrome and Firefox) but never on the Mac. For any developers who might be able to help, the code is below:
import java.applet.Applet;
import javax.print.Doc;
import javax.print.DocFlavor;
import javax.print.DocPrintJob;
import javax.print.PrintException;
import javax.print.PrintService;
import javax.print.PrintServiceLookup;
import javax.print.SimpleDoc;
import javax.print.attribute.PrintServiceAttribute;
import javax.print.attribute.standard.PrinterName;
import javax.print.attribute.HashPrintRequestAttributeSet;
import javax.print.attribute.PrintRequestAttributeSet;
import javax.print.attribute.standard.Copies;
public class UKMJavaPrintApplet extends Applet
public void init()
System.out.println("Initialising UK Mail Java Printing Applet...");
public void start()
System.out.println("Starting UK Mail Java Printing Applet...");
PrintLabelZPL("^XA^FO100,40^BY3^B3,,30^FD123ABC^XZ","Zebra Technologies ZTC GK420d");
public void stop()
System.out.println("Stopping UK Mail Java Printing Applet...");
public void destroy()
System.out.println("Preparing unload of UK Mail Java Printing Applet...");
public int GetPrinterCount()
PrintService[] services = null;
int serviceLength = 0;
try
services = PrintServiceLookup.lookupPrintServices(null, null);
if(services != null && services.length > 0)
serviceLength = services.length;
catch(Exception z)
System.out.println("Failed to get printer count: " + z.getMessage());
z.printStackTrace();
return serviceLength;
public String GetPrinterName(int index)
String sPrinterName = null;
String printerName = "";
PrintService[] services = null;
try
services = PrintServiceLookup.lookupPrintServices(null, null);
for (int k=0; k < services.length; k++)
PrintServiceAttribute attr = services[k].getAttribute(PrinterName.class);
sPrinterName = ((PrinterName) attr).getValue();
if(index == k)
printerName = sPrinterName;
break;
catch(Exception r)
System.out.println("Failed to get printer name: " + r.getMessage());
r.printStackTrace();
return printerName;
public Boolean PrintLabelZPL(String zplString, String printerName)
String errStr = "";
Boolean boolSuccess = false;
try
if(printerName != null && printerName != "")
PrintService psZebra = null;
String sPrinterName = null;
PrintRequestAttributeSet pras = new HashPrintRequestAttributeSet();
pras.add(new Copies(1));
PrintService[] services = PrintServiceLookup.lookupPrintServices(null, null);
for (int i = 0; i < services.length; i++)
PrintServiceAttribute attr = services.getAttribute(PrinterName.class);
sPrinterName = ((PrinterName) attr).getValue();
if (printerName.equals(sPrinterName))
psZebra = services;
break;
if (psZebra != null)
DocPrintJob job = psZebra.createPrintJob();
byte[] by = zplString.getBytes();
DocFlavor flavor = DocFlavor.BYTE_ARRAY.AUTOSENSE;
Doc doc = new SimpleDoc(by, flavor, null);
System.out.println("Printing to: " + printerName);
job.print(doc, pras);
boolSuccess = true;
System.out.println("Printing Successful.");
else
errStr = "Zebra printer not found.";
System.out.println(errStr);
boolSuccess = false;
else
errStr = "No printer name was provided.";
System.out.println(errStr);
boolSuccess = false;
catch (PrintException e)
System.out.println("Print Failed with PrintException: " + e.getMessage());
boolSuccess = false;
e.printStackTrace();
catch (Exception f)
System.out.println("Print Failed: " + f.getMessage());
boolSuccess = false;
f.printStackTrace();
return boolSuccess;
Does anyone have any ideas on how I can resolve this and print to the ZPL printer from my Java Applet on the Mac?
Any help would be much appreciated.
Thanks!We managed to solve our own problem. This was not directly a Java Problem, but a problem with the setup of the Zebra printer on the Mac. Printing directly to the ZPL Printer never worked and always gave the error Printing Error - pstopdffilter/pstocupsraster failed with err number -31000.
To solve this, we had to use the CUPS (Common Unix Printing System) interface. CUPS is apparently installed standard with every Mac. Being a new Mac user I didn't even know this a week ago. We had to use CUPS to add the printer, set it to be a "RAW" printer and then add something called a Class. Now when printing from the Java Applet, we DO NOT print to the actual Zebra printer, we print to the Class.
Here are the steps on how to accomplish all this:
1. As an Admin user, log onto Cups using the Safari browser by entering *http://localhost:631* into the Address Bar.
2. Select the Administration tab and click, ‘Add Printer’
3. Select the required local printer and then ‘Continue’
4. Enter a Name, Description, Location and uncheck the ‘Share This Printer’ checkbox, where:
a. Name = Queue Name (e.g. Zebra_RAW)
b. Description = Human Readable Description (e.g. Zebra1)
c. Location = Human Readable Location (e.g. My Mac mini)
5. Click ‘Continue’
6. Click ‘Select Another Make/Manufacturer’ and select ‘Raw’. Click ‘Continue’
7. Click ‘Add Printer’
8. Check that Banners are ‘none’ and Policies are ‘stop-printer’ (Error) and ‘default’ (Operation)
9. Click ‘Set Default Options’
10. Under the Administration tab, click Add Class.
11. Enter a Name, Description, Location and select the Members:
a. Name = Queue Name (e.g. ZebraRAWClass)
b. Description = Human Readable Description (e.g. ZebraRaw)
c. Location = Human Readable Location (e.g. My Mac mini)
d. Members = the Queue Name of the new raw printer
12. The only visible printers on the list then will be your non-raw printer/s and the printer class which you just created.
13. Now when printing from Java Code, you must use the class as the printer in order to print raw ZPL.
So in my example code in the previous post, I would print like this: PrintLabelZPL("^XA^FO100,40^BY3^B3,,30^FD123ABC^XZ","ZebraRaw");
And it works! I hope this can help others with the same / similar problem. -
Printer error log.. but I don't have a printer.
Is this anything to worry about? Can I prevent it from happening? I do not have a printer so it seems odd to me.
Description: Printer error log
Size: 12.77 KB
Last Modified: 5/9/09 1:07 AM
Location: /var/log/cups/error_log
Recent Contents: ...
I [26/Apr/2009:05:57:54 -0400] Listening to 600c3000:0
I [26/Apr/2009:05:57:54 -0400] Loaded configuration file "/private/etc/cups/cupsd.conf"
I [26/Apr/2009:05:57:54 -0400] Configured for up to 100 clients.
I [26/Apr/2009:05:57:54 -0400] Allowing up to 100 client connections per host.
I [26/Apr/2009:05:57:54 -0400] Full reload is required.
I [26/Apr/2009:05:57:54 -0400] Full reload complete.
I [26/Apr/2009:05:57:54 -0400] Printer sharing is off and there are no jobs pending, will restart on demand. Exiting.
I [26/Apr/2009:20:41:48 -0400] Listening to 7f000001:631
I [26/Apr/2009:20:41:48 -0400] Listening to 600c3000:0
I [26/Apr/2009:20:41:48 -0400] Loaded configuration file "/private/etc/cups/cupsd.conf"
I [26/Apr/2009:20:41:48 -0400] Configured for up to 100 clients.
I [26/Apr/2009:20:41:48 -0400] Allowing up to 100 client connections per host.
I [26/Apr/2009:20:41:48 -0400] Full reload is required.
I [26/Apr/2009:20:41:48 -0400] Full reload complete.
I [26/Apr/2009:20:41:48 -0400] Printer sharing is off and there are no jobs pending, will restart on demand. Exiting.
I [26/Apr/2009:22:03:17 -0400] Listening to 7f000001:631
I [26/Apr/2009:22:03:17 -0400] Listening to 600c3000:0
I [26/Apr/2009:22:03:17 -0400] Loaded configuration file "/private/etc/cups/cupsd.conf"
I [26/Apr/2009:22:03:17 -0400] Configured for up to 100 clients.
I [26/Apr/2009:22:03:17 -0400] Allowing up to 100 client connections per host.
I [26/Apr/2009:22:03:17 -0400] Full reload is required.
I [26/Apr/2009:22:03:17 -0400] Full reload complete.
I [26/Apr/2009:22:03:17 -0400] Printer sharing is off and there are no jobs pending, will restart on demand. Exiting.
I [27/Apr/2009:07:50:28 -0400] Listening to 7f000001:631
I [27/Apr/2009:07:50:28 -0400] Listening to 600c3000:0
I [27/Apr/2009:07:50:28 -0400] Loaded configuration file "/private/etc/cups/cupsd.conf"
I [27/Apr/2009:07:50:28 -0400] Configured for up to 100 clients.
I [27/Apr/2009:07:50:28 -0400] Allowing up to 100 client connections per host.
I [27/Apr/2009:07:50:28 -0400] Full reload is required.
I [27/Apr/2009:07:50:28 -0400] Full reload complete.
I [27/Apr/2009:07:50:28 -0400] Printer sharing is off and there are no jobs pending, will restart on demand. Exiting.
I [27/Apr/2009:23:50:53 -0400] Listening to 7f000001:631
I [27/Apr/2009:23:50:53 -0400] Listening to 600c3000:0
I [27/Apr/2009:23:50:53 -0400] Loaded configuration file "/private/etc/cups/cupsd.conf"
I [27/Apr/2009:23:50:53 -0400] Configured for up to 100 clients.
I [27/Apr/2009:23:50:53 -0400] Allowing up to 100 client connections per host.
I [27/Apr/2009:23:50:53 -0400] Full reload is required.
I [27/Apr/2009:23:50:53 -0400] Full reload complete.
I [27/Apr/2009:23:50:54 -0400] Printer sharing is off and there are no jobs pending, will restart on demand. Exiting.
I [02/May/2009:12:20:16 -0400] Listening to 7f000001:631
I [02/May/2009:12:20:16 -0400] Listening to 600c3000:0
I [02/May/2009:12:20:16 -0400] Loaded configuration file "/private/etc/cups/cupsd.conf"
I [02/May/2009:12:20:16 -0400] Configured for up to 100 clients.
I [02/May/2009:12:20:16 -0400] Allowing up to 100 client connections per host.
I [02/May/2009:12:20:16 -0400] Full reload is required.
I [02/May/2009:12:20:16 -0400] Full reload complete.
I [02/May/2009:12:20:16 -0400] Printer sharing is off and there are no jobs pending, will restart on demand. Exiting.
I [02/May/2009:13:03:30 -0400] Listening to 7f000001:631
I [02/May/2009:13:03:30 -0400] Listening to 600c3000:0
I [02/May/2009:13:03:30 -0400] Loaded configuration file "/private/etc/cups/cupsd.conf"
I [02/May/2009:13:03:30 -0400] Configured for up to 100 clients.
I [02/May/2009:13:03:30 -0400] Allowing up to 100 client connections per host.
I [02/May/2009:13:03:30 -0400] Full reload is required.
I [02/May/2009:13:03:30 -0400] Full reload complete.
I [02/May/2009:13:03:30 -0400] Printer sharing is off and there are no jobs pending, will restart on demand. Exiting.
I [08/May/2009:22:57:03 -0400] Listening to 7f000001:631
I [08/May/2009:22:57:03 -0400] Listening to 600c3000:0
I [08/May/2009:22:57:03 -0400] Loaded configuration file "/private/etc/cups/cupsd.conf"
I [08/May/2009:22:57:03 -0400] Configured for up to 100 clients.
I [08/May/2009:22:57:03 -0400] Allowing up to 100 client connections per host.
I [08/May/2009:22:57:03 -0400] Full reload is required.
I [08/May/2009:22:57:03 -0400] Full reload complete.
I [08/May/2009:22:57:03 -0400] Printer sharing is off and there are no jobs pending, will restart on demand. Exiting.
I [09/May/2009:01:07:55 -0400] Listening to 7f000001:631
I [09/May/2009:01:07:55 -0400] Listening to 600c3000:0
I [09/May/2009:01:07:55 -0400] Loaded configuration file "/private/etc/cups/cupsd.conf"
I [09/May/2009:01:07:55 -0400] Configured for up to 100 clients.
I [09/May/2009:01:07:55 -0400] Allowing up to 100 client connections per host.
I [09/May/2009:01:07:55 -0400] Full reload is required.
I [09/May/2009:01:07:55 -0400] Full reload complete.
I [09/May/2009:01:07:55 -0400] Printer sharing is off and there are no jobs pending, will restart on demand. Exiting.Hmmm, not sure what that is about, but you can open that .conf file in Text Edit & have a look.
I'd make a new User to test & see if the same error happens to help narrow down the possibilities.
Can you look at these files...
Users/YourUserName/Library/Preferences/com.apple.print.PrinterProxy.plist
/System/Library/LaunchDaemons/printer.plist -
Printer Error - Epson 3880 & LR and talking with each other?
I am trying to use the Epson 3880 with LR; however, I get a printer error every time I try to print. The error shows up in the printer status and is immediate.
The printer works fine with iPhoto.
It is connected and the Utility is speaking with printer.
I have downloaded the most recent drivers (which haven't been updated by Epson in awhile.)
I have the color being managed by the printer.
What else could it be?
I am very new to this and could use some help.
Thank you in advance.I suppose that can’t hurt to reinstall.
Do you have a 2nd machine you can try as well?
One thing you might try is logging in as another user and seeing if you can print. IF so, then there’s something in the original log-in Library that’s an issue. I think (I’m not sure) that the driver should be accessible for all users. If however, you can’t print as another user, then its something in the main system that’s at fault here.
You could also try resetting CUPs (the printer system) if you feel comfortable in Terminal. In Terminal type:
sudo cupsd -
solved Setting up Arch to print to remote cups printer?
Any useful info on setting up Arch to print to remote cups printer? I did'nt succeed using the Cups Setup guide:
http://wiki.archlinux.org/index.php/CUPS_Setup
I have tried the localhost:631 admin interface and kprint. I get /usr/lib/cups/backend/ipp failure and "stopped with status 22!" errors.
I will set the cupsd.conf LogLevel to debug2 and post anything needed from those results.
Brother hl1240 laser on a remote Suse system.
lynch
Last edited by lynch (2007-01-28 15:30:17)After a bit of searching I have managed to get remote printing to my cups server to work.
I reference 2 documents that helped me resolve this issue.
My searches were specific to my Brother hl1240 laser printer, Arch and cups but I think the resolution is general enough to help others who may have a different model of printer.
http://linuxprinting.org/cups-doc.html
4. Install the Foomatic scripts.
(If you are using a native CUPS Raster driver, or are using a PostScript printer with a PPD from your printer vendor, you probably do not need Foomatic and should skip this step). Download foomatic-rip and foomatic-gswrapper:
cd /usr/bin
wget http://www.linuxprinting.org/foomatic-rip
wget http://www.linuxprinting.org/foomatic-gswrapper
chmod 755 foomatic-rip foomatic-gswrapper
ln -s /usr/bin/foomatic-rip /usr/lib/cups/filter/foomatic-rip
The location of the CUPS filter directory may differ on other installations; look around for it. Also, be sure that your Perl interpreter is in /usr/bin (if not, edit the first line of the scripts).
http://www.archlinux.org/pipermail/arch … 03203.html
Here's what solved this for me. I browsed
http://linuxprinting.org/cups-doc.html and notice the following:
"Download foomatic-rip and foomatic-gswrapper."
Well, Arch only seems to supply foomatic-gswrapper, not foomatic-rip. When I
attempted to install the Arch foomatic-filters package, it complained,
saying foomatic-gswrapper is already contained in filesystem, with no
mention at all of foomatic-rip. The foomatic package also failed to install
foomatic-rip.
So I downloaded foomatic-rip from the above web site, copied it to /usr/bin,
where foomatic-gswrapper lives. Then I followed the next set of
instructions in the above mentioned document:
chmod 755 foomatic-rip foomatic-gswrapper
ln -s /usr/bin/foomatic-rip /usr/lib/cups/filter/foomatic-rip
I was never able to use the http://localhost:631 interface to get printing to work even after:
[1] installing foomatic-rip and foomatic-gswrapper in the proper directory
[2] running chmod to make them executable
[3] creating the link as in the above quote
[4] running /etc/rc.d/cups restart
Setting up remote printing with kprint in administrative mode works very well, though.
This seems to be somthing that needs to be addressed in future releases ( I'm running 0.7.2) or maybe it was fixed in 0.8, though I have not seen mention of it.
Hopefully this will help someone else with a similar problem.
lynch -
Print a report from Application Express direct to a CUPS Printer
Hi all, I'm new to this technology, is it possible to print a report from Application Express directly to a CUPS Printer? Can someone tell me in laymans terms how to do it? I find the terminology and documentation less than helpful.
Jeremy,
BI Publisher handles submitting reports directly to a CUPS printer. However, the APEX integration doesn't currently integrate with that portion of BI Publisher.
Here's an options:
Use the Java API of BI Publisher to build a custom Java program that would do this for you. Delivering to CUPS is part of the Java API.
Bryan -
HP LASERJET CP1525nw print error when printing online Gmail emails with Google Chrome
HP LASERJET CP1525nw print error when printing online Gmail emails with Google Chrome. Extra large font sizes and weird formatting issues only when printing emails from Gmail within Chrome. No problems when printing the same email from Gmail+Internet Exolorer or Thunderbird. Using the IE Tab extension in Chrome prints the email correctly but the style of Gmail's message window is completely weird ie: formatting bar is spread out vertically instead of horizontally. I believe it is clear that this is an application specific issue between the HP LASERJET CP1525nw printer and Google Chrome + Gmail. This printing scenario does not occur when printing anything else or when printing via another printer. I would appreciate receiving any suggestions to solve this issue.
OS: Windows 7 Ultimate x64
Browser: Google Chrome 15
HP Print driver: HP Universal Print Driver for Windows PCL6 v5.4.0
Printer is connected by WiFi to 4 computersHi AbZu,
You need to contact Google Chromes technical support as this is only an issue with Chrome. You have indicated that the printer functions correctly everywhere else. Check out the link below for Google Chrome technical support. Let me know if you need additional assistance?
http://support.google.com/chrome/?hl=en
I am an HP employee.
Say Thanks by clicking the Kudos Star in the post that helped you.
Please mark the post that solves your problem as "Accepted Solution" -
How do I use a cups printer on a linux machine from mountain lion
I have always used a linux cups printer on my network from my iMac. You could even browse the printer when looking for it. Worked fine.
Now in the updated Mountain Lion (10.8.2) is cannot see the remote printer anymore.
If I create the printer using cups through the web interface on my iMac, which is conected to the linux server, I can create teh printer, and print a test page on this printer on the linux server! Great.
But I cannot pick the printer from a list from any application on my Mac. It is as if it does not exist (but I can print a testpage though ...).
This a a real bad change in Mountain Lion. I consider to go back to Lion (10.7).
Isn't there any way to get this working or do I realy need to downgrade to 10.7
Thanks for any hints!Hi VikingOSX and Grant Bennet-Alder.
Thanks for the replies, but unfortunately, they do not work.
The solutions you suggest are all OK for 10.7.x (and I have used them before), but these steps do nothing in 10.8.2. No difference at all.
I have also tried various other suggestions I found on the web and in this forum, such as:
cupsctl BrowseRemoteProtocols=cups
cupsctl BrowseProtocols='"cups dnssd"'
They all seems to work (and I needed them before in 10.7.x), but they don't seem to help any more in 10.8.2
To illustrate the problem, I have tested the following 4 cases (in this particular order) on iMac 10.8.2 through CUPS web browser leding to teh following (copied text from CUPS web interface):
Step 1:
Description: EPSONserver
Location: server
Driver: Local Raw Printer (grayscale)
Connection: http://192.168.1.94:631/printers/R285
Defaults: job-sheets=none, none media=unknown
Jobs
▼ ID ▼ Name User Size Pages State Control
EPSONserver-23 Unknown Withheld 1k 1 processing since Sat Oct 6 14:59:57 2012 "Printing page 1, 85%"
Result step 1:
Test page: via CUPS web browser, OK. works just fine, full color and everything looks just fine
Printer in printer list: No, installed printer not available in OSX.
Can print from application: No, printer not in printer list. Cannot select printer.
Step 2:
Description: EPSONserver
Location: server
Driver: EPSON SP R285 Series (color, 2-sided printing)
Connection: http://192.168.1.94:631/printers/R285
Defaults: job-sheets=none, none media=na_letter_8.5x11in sides=one-sided
Jobs
▼ ID ▼ Name User Size Pages State Control
EPSONserver-24 Unknown Withheld 1k Unknown stopped "Filter failed"
Result step 2:
Test page: via CUPS web browser: NO. "Filter failed"
Printer in printer list: YES
Can print from application: NO, "Filter failed".
Step 3:
Description: EPSONserver
Location: server
Driver: Generic PostScript Printer (color, 2-sided printing)
Connection: http://192.168.1.94:631/printers/R285
Defaults: job-sheets=none, none media=na_letter_8.5x11in sides=one-sided Jobs
Result step 3:
Test page: via CUPS web browser: low resolution/bad quality, black and white test page
Printer in printer list: YES, it remained in printer list when changed from step 2 to step 3.
Can print from application: Yes, but bad quality, not useful at all.
Step 4 = change settings back to step 1 :
Description: EPSONserver
Location: server
Driver: Local Raw Printer (grayscale)
Connection: http://192.168.1.94:631/printers/R285
Defaults: job-sheets=none, none media=unknown
Result step 4:
Test page: via CUPS web browser: OK. works just fine, full color and everything looks just fine
Printer in printer list: it disappeared from the printer list at the moment the changes back from step 3 to step 1 were activated.
Can print from application: No, printer not in printer list. Cannot select printer.
Overall conclusion:
The printer appears in the printer list only when it is a postscript printer or using manufacturer drivers (i.e epson drivers). It does NOT appear when using a RAW printer (but works fine printing test pages through the CUPS web interface).
10.8.2. seems to have a serious bug.
Any help? Or is downgrading to 10.7 my only solution?
THX for reading! -
"Print Error Whilst Printing" when trying to print or save as PDF
I don't understand why i can't just print - everytime it says Print error whilst printing whether i'm actually trying to save it or print it. I'm very new to using Macs - 3 days now so not used to how they work yet but i'm running Tiger 10.4.8 on an Intel Mac if anyone can help me please!
Hello Dorin and thank you for your answer.
Yes page 5 is a double page spread and this is not the only one in my book! I will modify the page 5 to see if the error message will appear at the next double page spread....
Thanks again
Richard -
HP Envy 4500 All in One - Printer Error - not finishing print job / non-specific error code
Help - my new HP ENVY 4500 AIO (less 3 months old) has never completed a print job if it is over 1 page. I'm connected wirelessly, and not sure if there is an interruption in the wireless connection or if this is defect in the printer. I receive a message "Printer Error - HP ENVY cancelling print job" and that's it. It will usually happen when it's on the last page of a small print job or half way thru a large (10+ page) of a print job. Any suggestions? I've downloaded HP Print/Scan Dr - it didn't find any issues.
I had the same issue. Got in contact with HP customer service and the first person that helped had no idea how to fix it. Got in contact with someone else and they found the issue right away. I had it connected through the wrong port.
First find out what the IP address of your printer is. You can do this by pressing the small wifi button on the front of your printer and it will show the IP address.
Then what you'll have to do is go to the start menu of your computer and search for "Devices and Printers".
Click that and a screen will open. Look for your printer an right click.
Click "Printer Properties" and a new screen will open.
Along the top you will see a few tabs. Click the one that says "Ports"
Click "Add Port"
Highlight "Standard TCP/IP Port" by clicking on it, then click "New Port"
A new screen will open.
Click "Next"
Type in the IP Address of your printer and click "Next"
After that your computer should find your printer.
Click finish and you should be all set.
Hope this helps. -
Hi I am having the strange issue.
When my application is running as windows service, the RAS engine is not printing the report.
I am getting the below error.
//Code Snippet
PrintReportOptions printOptions = new PrintReportOptions();
printOptions.setPrinterName(printername);
printOptions.setPaperSource(PaperSource.auto);
printOptions.setPaperSize(PaperSize.paperLetter);
printOptions.setNumberOfCopies(1);
printOptions.setCollated(false);
rcd.getPrintOutputController().modifyPageMargins(850, 250, 250, 250);
//Print report.
rcd.getPrintOutputController().printReport(printOptions);
Any one could help me on this?
Thanks
Sumathi
Msg:java.awt.print.PrinterAbortExceptionStack:com.businessobjects.crystalreports.viewer.core.f.print(Unknown Source)
sun.print.RasterPrinterJob.printPage(RasterPrinterJob.java:1936)
sun.print.RasterPrinterJob.print(RasterPrinterJob.java:1431)
com.businessobjects.crystalreports.viewer.core.f$a.a(Unknown Source)
com.businessobjects.crystalreports.viewer.core.f.a(Unknown Source)
com.businessobjects.crystalreports.printer.bean.a.ck(Unknown Source)
com.businessobjects.crystalreports.printer.bean.ReportPrinter.print(Unknown Source)
com.businessobjects.crystalreports.printer.bean.ReportPrinter.print(Unknown Source)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
com.crystaldecisions.sdk.occa.report.application.PrintOutputController.printReport(Unknown Source)
com.crd.report.crystal.CrystalReportUtil.exportReport(CrystalReportUtil.java:2094)
com.crd.report.biz.CRDReportingFactory.exportReport(CRDReportingFactory.java:336)
com.crd.report.app.ReportingImpl.generateReport(ReportingImpl.java:115)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
com.crd.services.ServiceProxyFactory$LocalHandler.invoke(ServiceProxyFactory.java:374)
$Proxy19.generateReport(Unknown Source)
com.crd.exporter.router.DefaultReportWriter.generateReport(DefaultReportWriter.java:50)
com.crd.exporter.router.Router.route(Router.java:286)
com.crd.exporter.router.Router.dispatchPackage(Router.java:191)
com.crystaldecisions.sdk.occa.report.lib.ReportSDKPrinterException: Report could not be printed.---- Error code:-2147467259 Error code name:failedStack:com.businessobjects.crystalreports.printer.bean.a.ck(Unknown Source)
com.businessobjects.crystalreports.printer.bean.ReportPrinter.print(Unknown Source)
com.businessobjects.crystalreports.printer.bean.ReportPrinter.print(Unknown Source)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
com.crystaldecisions.sdk.occa.report.application.PrintOutputController.printReport(Unknown Source)
com.crd.report.crystal.CrystalReportUtil.exportReport(CrystalReportUtil.java:2094)
com.crd.report.biz.CRDReportingFactory.exportReport(CRDReportingFactory.java:336)
com.crd.report.app.ReportingImpl.generateReport(ReportingImpl.java:115)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
com.crd.services.ServiceProxyFactory$LocalHandler.invoke(ServiceProxyFactory.java:374)
$Proxy19.generateReport(Unknown Source)
com.crd.exporter.router.DefaultReportWriter.generateReport(DefaultReportWriter.java:50)
com.crd.exporter.router.Router.route(Router.java:286)
com.crd.exporter.router.Router.dispatchPackage(Router.java:191)Hi,
Can be a permissions issue.
Try giving the ASPNET account full control on Temp folder :
. Right-click the folder and select 'Properties'.
. Go to the 'Security' tab and click the 'Add' button.
. Select the 'ASPNET'. Click 'ADD'. Click 'OK'.
. Check 'Full Control' from 'Permissions for 'ASPNET'.
Sincerely,
Nikhil Dharme -
Getting printing error while issuing the excise invoice with cust. O/P type
Hi,
I have created a custom output type and form and tried to issue it with the transaction J1IS. But it is always giving me error saying "Printing Error". I checked and didn't find any error in the SAP Script.
Thanks,
srinivas.Hi,
The error could be due to various reasons.A good starting point though would be to check if your page margins do not exceed the printer boundary.
Regards,
Neil.
Maybe you are looking for
-
My MacBook Pro screen doesn't turn on when I the open lid.
So I bought my 13inch MacBook Pro Retina two weeks ago. 70% of the time when opening the lid the screen will not turn on but my keyboard backlight will. I then have to either close the lid and open again or press the power to put the system to sleep
-
Installed 23" HD Display with AirPort difficulties
recently installed a 23" HD Display - all well and good... but on wake from Sleep and/or re-Logging On, the AirPort connection is lost! while still on the network... this is focing me to do a full system reboot or as recently discovered; (that someti
-
F.16 showing different values.
Hi All, As year end activity, when running F.16 in test run, we are getting different values as compared to FS10N. Carry Forward balances are not matching for year 2011. Any idea what can be the possible reason for that? Parul
-
Multiple hierarchies in one dimesion
Hi all, I am new in using AWM. I have problem when using two hierarchies in one dimension. This is sample of dimension. A ---+B -----+B1 -------+B2 ---------+B3 ---+C -----+C1 -------+C2 ---------+C3 Dimension is A and it has two hierarchies B and C.
-
Why won't my iPod sync up with iPhoto though iTunes?
I always have my iPod classic (newest model) syncing everything automatically because of the 160GB storage, including my photo's in iPhoto. Now, for some unknown reason, when syncing with photos ticked, iTunes displays this message: 'The iPod: "Haydn