lpr: error - expected destination after -P option!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



lpr: error - expected destination after -P option!

I'm new to wine 0.9.  Running on a gentoo stable system, with cups support.

The application I am running has a printer selection dialog which
when selected shows up blank.

And clicking where the printer names should be or
OK causes a core dump.  Clicking cancel works.

Eventhough I can't select a printer the default seems to work a little.

If I create a print job eventually I get:

   lpr: error - expected destination after -P option!

I created a /usr/bin/lpr which just echo'ed $* to a tmpfile and
found it only contains '-P'.

I created a /usr/bin/lpr which does

#!/bin/sh
lpr.real -Pfront

and print jobs actually work.

However, I still can't select printers from the printer selection
dialog.

user.reg contains:

[Software\\Microsoft\\Windows NT\\CurrentVersion\\Devices] 1131384516
"front"="WINEPS.DRV,LPR:front"
"samsung"="WINEPS.DRV,LPR:samsung"
"samsung2"="WINEPS.DRV,LPR:samsung2"

system.reg contains:

[System\\CurrentControlSet\\Control\\Print\\Printers\\front] 1131384609
"Attributes"=dword:00000000
"Datatype"="RAW"
"Description"="WINEPS Printer using CUPS"
"Location"="<physical location of printer>"
"Name"="front"
"Parameters"="<parameters?>"
"Port"="LPR:front"
"Print Processor"="WinPrint"
"Printer Driver"="PS Driver"
"Priority"=dword:00000000
"Separator File"="<sep file?>"
"Share Name"="<share name?>"
"StartTime"=dword:00000000
"Status"=dword:00000000
"UntilTime"=dword:00000000

[System\\CurrentControlSet\\Control\\Print\\Printers\\samsung]
1131384609
"Attributes"=dword:00000000
"Datatype"="RAW"
"Default
DevMode"=hex:73,61,6d,73,75,6e,67,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,0a,03,01,00,9c,00,08,00,13,6b,00,00,\
  01,00,01,00,ea,0a,6f,08,64,00,01,00,07,00,00,00,02,00,01,00,00,00,03,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"Description"="WINEPS Printer using CUPS"
"Location"="<physical location of printer>"
"Name"="samsung"
"Parameters"="<parameters?>"
"Port"="LPR:samsung"
"Print Processor"="WinPrint"
"Printer Driver"="PS Driver"
"Priority"=dword:00000000
"Separator File"="<sep file?>"
"Share Name"="<share name?>"
"StartTime"=dword:00000000
"Status"=dword:00000000
"UntilTime"=dword:00000000

[System\\CurrentControlSet\\Control\\Print\\Printers\\samsung2]
1131384609
"Attributes"=dword:00000000
"Datatype"="RAW"
"Default
DevMode"=hex:73,61,6d,73,75,6e,67,32,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,0a,03,01,00,9c,00,08,00,13,6b,00,00,\
  01,00,01,00,ea,0a,6f,08,64,00,01,00,07,00,00,00,02,00,01,00,00,00,03,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"Description"="WINEPS Printer using CUPS"
"Location"="<physical location of printer>"
"Name"="samsung2"
"Parameters"="<parameters?>"
"Port"="LPR:samsung2"
"Print Processor"="WinPrint"
"Printer Driver"="PS Driver"
"Priority"=dword:00000000
"Separator File"="<sep file?>"
"Share Name"="<share name?>"
"StartTime"=dword:00000000
"Status"=dword:00000000
"UntilTime"=dword:00000000

/etc/printcap contains:

# This file was automatically generated by cupsd(8) from the
# /etc/cups/printers.conf file.  All changes to this file
# will be lost.
samsung|mono laser:rm=newofc:rp=samsung:
front|front:rm=newofc:rp=front:
samsung2|mono laser printer:rm=newofc:rp=samsung2:

front is a class containing samsung and samsung2

Any ideas?

--
brian

_______________________________________________
wine-users mailing list
wine-users@xxxxxxxxxx
http://www.winehq.org/mailman/listinfo/wine-users

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux