Document failed to print on printer x because of an error. -48
Document failed to print on printer x because of an error. -48
- Subject: Document failed to print on printer x because of an error. -48
- From: "Wadson, David" <email@hidden>
- Date: Mon, 16 Jul 2001 18:24:00 -0400
>
I'm running into a brick wall with this error message from a desktop
>
printer queue. I'm trying to use AppleScript to print Quark documents to
>
PostScript files to create PDFs. I have everything up to and including
>
printing the documents. However, at that point, the print queue throws up
>
a "Document blahblah failed to print on printer blahblah because of an
>
error. -48." If I turn off background printing, it throws up an "Unknown
>
error -50" at me. Frustration is setting in because if I simply manually
>
print the file (File...Print...OK), it works fine. I got this working
>
briefly on one workstation, but now it won't function anymore - deleting
>
the printer queue and recreating it and resetting the preferences failed
>
to help. Leaving the file in the queue and restarting the computer still
>
won't print it.
>
>
Searches of Macfixit.com and til.info.apple.com have failed to reveal
>
those error codes. I have another script, written almost identically, that
>
will print documents directly to our imagesetter just fine and I've
>
doublechecked and triplechecked my coding. The document prints to the
>
print queue and then chokes everytime.
>
>
Granted, I have automated the majority our workflow for creating PDF files
>
and this one extra step of actually printing the PostScript file to disk
>
could be left out but hey, I've come this far...
>
Incidentally, neither "print PostScript file alias" or just "print" work.
Not sure if AppleScript is directly at fault with this but seeing as people
around here have been doing some scripting with Quark, perhaps some of you
have already experienced this...
David Wadson - Graphics Coordinator
The Chronicle-Journal
807-343-6264
email@hidden
www.chroniclejournal.com