* Problem with printing on change of printer
@ 2008-01-24 9:32 Victor Warner
2008-01-24 10:06 ` Rafał Cygnarowski
0 siblings, 1 reply; 7+ messages in thread
From: Victor Warner @ 2008-01-24 9:32 UTC (permalink / raw)
To: linux-msdos
I am use dosemu 1.4 under Xandros Professional 4.0 Desktop.
Until recently I have been using a HP LaserJet printer and have had no
difficulty printing from DOS programs under Dosemu to the printer.
The .dosemurc~ (located in home directory) reads:
$_hdimage = "/disks/D/dos"
$_printer_command = "lpr -l"
$_printer = "HPLJ3055"
$_layout="uk"
$_X_keycode=(off)
$_X_font="vga12x30"
$_hogthreshold="1"
$_xms="16834"
$_xms="16834"
$_X_title="Dosemu (as user)"
I have now changed to a Lexmark C530dn (which I understand is a pcl and postscript printer). I changed in the .dosemurc~ file only
the $_printer = "HPLJ3055" line to $_printer = "lexmarkc530dn" (ie the name I called the printer in Linux), and used the right printer driver in the dos programs (WordPerfect 5.1/6.2) but nothing has printed.
I ran dosemu from console and on printing the following message was printed:
"lpr: error - unable to print file: client-error-document-format-not-supported"
I do not know how to fix this problem. Help with this would be greatly appreciated.
Victor Warner.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Problem with printing on change of printer
2008-01-24 9:32 Problem with printing on change of printer Victor Warner
@ 2008-01-24 10:06 ` Rafał Cygnarowski
2008-01-24 12:37 ` Victor Warner
0 siblings, 1 reply; 7+ messages in thread
From: Rafał Cygnarowski @ 2008-01-24 10:06 UTC (permalink / raw)
To: linux-msdos
[-- Attachment #1: Type: text/plain, Size: 1359 bytes --]
Dnia czwartek, 24 stycznia 2008, Victor Warner napisał:
> I am use dosemu 1.4 under Xandros Professional 4.0 Desktop.
>
> Until recently I have been using a HP LaserJet printer and have had no
> difficulty printing from DOS programs under Dosemu to the printer.
>
> The .dosemurc~ (located in home directory) reads:
>
> $_hdimage = "/disks/D/dos"
> $_printer_command = "lpr -l"
> $_printer = "HPLJ3055"
> $_layout="uk"
> $_X_keycode=(off)
> $_X_font="vga12x30"
> $_hogthreshold="1"
> $_xms="16834"
> $_xms="16834"
> $_X_title="Dosemu (as user)"
>
>
> I have now changed to a Lexmark C530dn (which I understand is a pcl and
> postscript printer). I changed in the .dosemurc~ file only the $_printer =
> "HPLJ3055" line to $_printer = "lexmarkc530dn" (ie the name I called the
> printer in Linux), and used the right printer driver in the dos programs
> (WordPerfect 5.1/6.2) but nothing has printed.
>
> I ran dosemu from console and on printing the following message was
> printed:
>
> "lpr: error - unable to print file:
> client-error-document-format-not-supported"
I suppose you use cups, do you? If yes check your cups logs for details.
There's probably some filter missing. If cups logs are not good enough set
log level to debug in your cupsd.conf and try again.
Regards,
--
Rafał Cygnarowski
rafi@pers.pl
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Problem with printing on change of printer
2008-01-24 10:06 ` Rafał Cygnarowski
@ 2008-01-24 12:37 ` Victor Warner
2008-01-27 16:00 ` Rafał Cygnarowski
0 siblings, 1 reply; 7+ messages in thread
From: Victor Warner @ 2008-01-24 12:37 UTC (permalink / raw)
To: linux-msdos
Thank you for the reply.
I do use cups, but my technical skills are low so although I can see the
relevant cups files I do not what I should be looking for.
Would it be possible to let me know what I should be looking for/doing.
I would be very grateful.
Victor Warner.
Rafa? Cygnarowski wrote:
> Dnia czwartek, 24 stycznia 2008, Victor Warner napisa?:
>
>> I am use dosemu 1.4 under Xandros Professional 4.0 Desktop.
>>
>> Until recently I have been using a HP LaserJet printer and have had no
>> difficulty printing from DOS programs under Dosemu to the printer.
>>
>> The .dosemurc~ (located in home directory) reads:
>>
>> $_hdimage = "/disks/D/dos"
>> $_printer_command = "lpr -l"
>> $_printer = "HPLJ3055"
>> $_layout="uk"
>> $_X_keycode=(off)
>> $_X_font="vga12x30"
>> $_hogthreshold="1"
>> $_xms="16834"
>> $_xms="16834"
>> $_X_title="Dosemu (as user)"
>>
>>
>> I have now changed to a Lexmark C530dn (which I understand is a pcl and
>> postscript printer). I changed in the .dosemurc~ file only the $_printer =
>> "HPLJ3055" line to $_printer = "lexmarkc530dn" (ie the name I called the
>> printer in Linux), and used the right printer driver in the dos programs
>> (WordPerfect 5.1/6.2) but nothing has printed.
>>
>> I ran dosemu from console and on printing the following message was
>> printed:
>>
>> "lpr: error - unable to print file:
>> client-error-document-format-not-supported"
>>
>
> I suppose you use cups, do you? If yes check your cups logs for details.
> There's probably some filter missing. If cups logs are not good enough set
> log level to debug in your cupsd.conf and try again.
>
> Regards,
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Problem with printing on change of printer
2008-01-24 12:37 ` Victor Warner
@ 2008-01-27 16:00 ` Rafał Cygnarowski
2008-01-29 10:50 ` Victor Warner
0 siblings, 1 reply; 7+ messages in thread
From: Rafał Cygnarowski @ 2008-01-27 16:00 UTC (permalink / raw)
To: linux-msdos
[-- Attachment #1: Type: text/plain, Size: 718 bytes --]
Dnia czwartek, 24 stycznia 2008, napisałeś:
> Thank you for the reply.
>
> I do use cups, but my technical skills are low so although I can see the
> relevant cups files I do not what I should be looking for.
>
> Would it be possible to let me know what I should be looking for/doing.
> I would be very grateful.
1. Search files in your /var/log/cups directory for "unknown format" phrase
(or sth like that).
2. Because you set up your program to send PCL commands to printer you can
although try to create RAW printer in cups (then no filters should be used
for printing and everything created by program will be send to
printer "directly").
Regards,
--
Rafał Cygnarowski
rafi@pers.pl
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Problem with printing on change of printer
2008-01-27 16:00 ` Rafał Cygnarowski
@ 2008-01-29 10:50 ` Victor Warner
2008-01-29 11:08 ` Reinhard Karcher
2008-01-29 16:02 ` Frantisek Hanzlik
0 siblings, 2 replies; 7+ messages in thread
From: Victor Warner @ 2008-01-29 10:50 UTC (permalink / raw)
To: linux-msdos
Thank you for the reply.
The (real) printer is a pcl/postscript printer (although a LexMark, I
used a HPLJ Color 4500 printer driver). And in DOS/Wordperfect I set up
a postscript printer driver for HPLJ Color 4500)
I set up another machine in exactly the same way as the problem machine,
and have no problem in printing . On the problem machine the cups
error.log produces the following entries:
"I [29/Jan/2008:09:20:01 +0000] Default destination set to 'HPLJ4500' by 'root'.
E [29/Jan/2008:09:20:12 +0000] print_job: Unsupported format 'application/vnd.cups-raw'!
I [29/Jan/2008:09:20:12 +0000] Hint: Do you have the raw file printing rules enabled?"
Is something missing from the Dosemu setup or in CUPS?
Victor Warner
Rafał Cygnarowski wrote:
> Dnia czwartek, 24 stycznia 2008, napisałeś:
>
>> Thank you for the reply.
>>
>> I do use cups, but my technical skills are low so although I can see the
>> relevant cups files I do not what I should be looking for.
>>
>> Would it be possible to let me know what I should be looking for/doing.
>> I would be very grateful.
>>
>
> 1. Search files in your /var/log/cups directory for "unknown format" phrase
> (or sth like that).
>
> 2. Because you set up your program to send PCL commands to printer you can
> although try to create RAW printer in cups (then no filters should be used
> for printing and everything created by program will be send to
> printer "directly").
>
> Regards,
>
-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Problem with printing on change of printer
2008-01-29 10:50 ` Victor Warner
@ 2008-01-29 11:08 ` Reinhard Karcher
2008-01-29 16:02 ` Frantisek Hanzlik
1 sibling, 0 replies; 7+ messages in thread
From: Reinhard Karcher @ 2008-01-29 11:08 UTC (permalink / raw)
To: linux-msdos
Victor Warner schrieb:
>
>
> "I [29/Jan/2008:09:20:01 +0000] Default destination set to 'HPLJ4500' by
> 'root'.
> E [29/Jan/2008:09:20:12 +0000] print_job: Unsupported format
> 'application/vnd.cups-raw'!
> I [29/Jan/2008:09:20:12 +0000] Hint: Do you have the raw file printing
> rules enabled?"
>
>
> Is something missing from the Dosemu setup or in CUPS?
You are missing something in CUPS. Goto to /etc/cups/ and search the
files there
for raw printing and change the files to enable it.
Reinhard
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Problem with printing on change of printer
2008-01-29 10:50 ` Victor Warner
2008-01-29 11:08 ` Reinhard Karcher
@ 2008-01-29 16:02 ` Frantisek Hanzlik
1 sibling, 0 replies; 7+ messages in thread
From: Frantisek Hanzlik @ 2008-01-29 16:02 UTC (permalink / raw)
To: Victor Warner; +Cc: linux-msdos
As Reinhard write, it is cups problem.
In "/etc/cups/mime.convs" you must uncomment line:
application/octet-stream application/vnd.cups-raw 0 -
Line in "/etc/cups/mime.types":
application/octet-stream
should be uncommented too (althought not necessary when You specify
"-l" lpr switch - equivalent of "-o raw")
Franta Hanzlik
Victor Warner wrote:
>
> Thank you for the reply.
>
> The (real) printer is a pcl/postscript printer (although a LexMark, I
> used a HPLJ Color 4500 printer driver). And in DOS/Wordperfect I set up
> a postscript printer driver for HPLJ Color 4500)
>
> I set up another machine in exactly the same way as the problem machine,
> and have no problem in printing . On the problem machine the cups
> error.log produces the following entries:
>
> "I [29/Jan/2008:09:20:01 +0000] Default destination set to 'HPLJ4500' by
> 'root'.
> E [29/Jan/2008:09:20:12 +0000] print_job: Unsupported format
> 'application/vnd.cups-raw'!
> I [29/Jan/2008:09:20:12 +0000] Hint: Do you have the raw file printing
> rules enabled?"
>
>
> Is something missing from the Dosemu setup or in CUPS?
> Victor Warner
>
>
>
>
> application/octet-stream
> Rafał Cygnarowski wrote:
>> Dnia czwartek, 24 stycznia 2008, napisałeś:
>>> Thank you for the reply.
>>>
>>> I do use cups, but my technical skills are low so although I can see the
>>> relevant cups files I do not what I should be looking for.
>>>
>>> Would it be possible to let me know what I should be looking for/doing.
>>> I would be very grateful.
>>
>> 1. Search files in your /var/log/cups directory for "unknown format"
>> phrase (or sth like that).
>>
>> 2. Because you set up your program to send PCL commands to printer you
>> can although try to create RAW printer in cups (then no filters should
>> be used for printing and everything created by program will be send to
>> printer "directly").
>>
>> Regards,
> -
> To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
> !DSPAM:479f0381255687342354040!
>
-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-01-29 16:02 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-24 9:32 Problem with printing on change of printer Victor Warner
2008-01-24 10:06 ` Rafał Cygnarowski
2008-01-24 12:37 ` Victor Warner
2008-01-27 16:00 ` Rafał Cygnarowski
2008-01-29 10:50 ` Victor Warner
2008-01-29 11:08 ` Reinhard Karcher
2008-01-29 16:02 ` Frantisek Hanzlik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox