Mombu the Microsoft Forum sponsored links

Go Back   Mombu the Microsoft Forum > Microsoft > MICROSOFT WINDOWS GENERAL APLICATIONS (NNTP) > Cups not printing from wine apps. error: lp: unable to print file: client-error-bad-request
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 20th September 20:53
gsylvester
External User
 
Posts: 1
Default Cups not printing from wine apps. error: lp: unable to print file: client-error-bad-request


When trying to print from wine apps to cups printer I get the error message
below. I haven't seen this error message in this forum. Anything I can try?

I have:
Slackware 9.1
wine-2004040121
cups printer (HP2200 named it2200 on hp jetdirect) that prints from kde desktop
apps and from command line (lp /etc/hosts and lpr /etc/hosts work)

..wine/config contains:
[spooler]
"FILE:" = "tmp.ps"
"LPT1:" = "|lpr"
"LPT2:" = "|gs -sDEVICE=bj200 -sOutputFile=/tmp/fred -q -"
"LPT3:" = "/dev/lp3"

..wine/system.reg contains:
[System\\CurrentControlSet\\Control\\Print\\Printer s\\it2200] 1077743272
"Attributes"=dword:00000000
"Datatype"="RAW"
"Default DevMode"=hex:69,74,32,32,30,30,00,00,00,00,00,00,0 0,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,7b,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"="it2200"
"Parameters"="<parameters?>"
"Port"="LPR:it2200"
"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

c/windows/win.ini contains:
[devices]
it2200=WINEPS,LPR:it2200
[windows]
device=it2200,WINEPS,LPR:it2200

error output:
user1@user1linux:~/c/windows$ /home/user1/wine-20040121/wine --debugmsg +print c
:\\windows\\notepad.exe
fixme:commdlg:PRINTDLG_SetUpPrinterListComboW Can't find '(null)' in printer lis
t so trying to find default
tracerintrvGetPrinterData16 printer it2200
tracerintrvGetPrinterData16 profile 0x1
tracerintrvGetPrinterData16 lpType 0x4068e45c
tracerintrvGetPrinterData16 printer it2200
tracerintrvGetPrinterData16 profile 0x1
tracerintrvGetPrinterData16 lpType 0x4068e45c
tracerintrvGetPrinterData16 printer it2200
tracerintrvGetPrinterData16 profile 0x1
tracerintrvGetPrinterData16 lpType 0x4068e45c
tracerintrvGetPrinterData16 printer it2200
tracerintrvGetPrinterData16 profile 0x1
tracerintrvGetPrinterData16 lpType 0x4068e45c
tracerintrvGetPrinterData16 printer it2200
tracerintrvGetPrinterData16 profile 0x1
tracerintrvGetPrinterData16 lpType 0x4068e45c
tracerintrvGetPrinterData16 printer it2200
tracerintrvGetPrinterData16 profile 0x1
tracerintrvGetPrinterData16 lpType 0x4068e45c
tracerintrvGetPrinterData16 printer it2200
tracerintrvGetPrinterData16 profile 0x1
tracerintrvGetPrinterData16 lpType 0x4068f10c
tracerintrvGetPrinterData16 printer it2200
tracerintrvGetPrinterData16 profile 0x1
tracerintrvGetPrinterData16 lpType 0x4068f10c
tracerint:StartDocA DocName = '' Output = '(null)' Datatype = '(null)'
tracerint:OpenJob16 'LPR:it2200' '' 0ff8
tracerint:CreateSpoolFile Got printerSpoolCommand '|lpr -Pit2200' for output d
evice 'LPR:it2200'
tracerint:CreateSpoolFile command: '|lpr -Pit2200'
tracerint:CreateSpoolFile Need to execute a cmnd and pipe the output to it
tracerint:CreateSpoolFile In child need to exec lpr -Pit2200
tracerint:OpenJob16 return 0001
tracerint:WriteSpool16 0001 41032d40 0077
tracerint:WriteSpool16 0001 40f93c03 000e
tracerint:WriteSpool16 0001 40f93c20 0116
tracerint:WriteSpool16 0001 40f93c12 000c
[...snip...]
tracerint:WriteSpool16 0001 4068f710 0011
tracerint:WriteSpool16 0001 40f93e45 0018
tracerint:WriteSpool16 0001 41032d40 001b
tracerint:CloseJob16 0001
lp: unable to print file: client-error-bad-request
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666