(Yes, I know 20031118 is a little old)
Anyone any ideas what is going on here or any simple tests I can do?
I am trying to get our company's software running on Red Hat Enterprise Linux 3 Update 1.
I am using the wine-20031118-1rh8winehq.i686.rpm
I am printing to a SMB printer elsewhere on the computer. I can print the test page from the printconfgui I can print a text file from the command line (lp /etc/passwd)
I cannot print from notepad; nothing seems to happen
I cannot print from our application; I get the error:
lpr: unable to print file: server-error-service-unavailable
(I'll try the 20040408 when I can actually download it, but I don't expect it to change)
(I would try changing to LPRng but of course RHEL3 doesn't seem to include it)
Anyone any ideas?
On Fri, Apr 30, 2004 at 10:13:16AM -0700, Bill Medland wrote:
(Yes, I know 20031118 is a little old)
Anyone any ideas what is going on here or any simple tests I can do?
I am trying to get our company's software running on Red Hat Enterprise Linux 3 Update 1.
I am using the wine-20031118-1rh8winehq.i686.rpm
[snip]
Anyone any ideas?
I'm pretty sure you want to take the rh9 wine srpm and rebuild it on RHEL 3 U1. RHL9 is the ancestor of RHEL3.
bye michael
On April 30, 2004 11:59 am, Michael Stefaniuc wrote:
On Fri, Apr 30, 2004 at 10:13:16AM -0700, Bill Medland wrote:
(Yes, I know 20031118 is a little old)
Anyone any ideas what is going on here or any simple tests I can do?
I am trying to get our company's software running on Red Hat Enterprise Linux 3 Update 1.
I am using the wine-20031118-1rh8winehq.i686.rpm
[snip]
Anyone any ideas?
I'm pretty sure you want to take the rh9 wine srpm and rebuild it on RHEL 3 U1. RHL9 is the ancestor of RHEL3.
Bother; and I was hoping I wouldn't have to rebuild!! (For the record, the RH8 binary works better than the RH9 one)
bye michael
Bill Medland wrote:
(Yes, I know 20031118 is a little old)
Anyone any ideas what is going on here or any simple tests I can do?
I am trying to get our company's software running on Red Hat Enterprise Linux 3 Update 1.
I am using the wine-20031118-1rh8winehq.i686.rpm
I am printing to a SMB printer elsewhere on the computer. I can print the test page from the printconfgui I can print a text file from the command line (lp /etc/passwd)
Wine expects to print with lpr and the corresponding syntax. Can you print on the command line with lpr instead of lp?
On May 1, 2004 08:50 am, Duane Clark wrote: > Bill Medland wrote:
(Yes, I know 20031118 is a little old)
Anyone any ideas what is going on here or any simple tests I can do?
I am trying to get our company's software running on Red Hat Enterprise Linux 3 Update 1.
I am using the wine-20031118-1rh8winehq.i686.rpm
I am printing to a SMB printer elsewhere on the computer. I can print the test page from the printconfgui I can print a text file from the command line (lp /etc/passwd)
Wine expects to print with lpr and the corresponding syntax. Can you print on the command line with lpr instead of lp?
Yes
Bill Medland wrote:
On May 1, 2004 08:50 am, Duane Clark wrote: > Bill Medland wrote:
(Yes, I know 20031118 is a little old)
Anyone any ideas what is going on here or any simple tests I can do?
I am trying to get our company's software running on Red Hat Enterprise Linux 3 Update 1.
I am using the wine-20031118-1rh8winehq.i686.rpm
I am printing to a SMB printer elsewhere on the computer. I can print the test page from the printconfgui I can print a text file from the command line (lp /etc/passwd)
Wine expects to print with lpr and the corresponding syntax. Can you print on the command line with lpr instead of lp?
Yes
Then the next test is that Wine expects to be able to print a postscipt file via lpr, so the next thing to try is printing a postscript file via lpr.
Hmm, and is printconfgui something other than CUPS, I take it?
You might want to post the contents of /etc/printcap, windows/win.ini, and the sections of ~/.wine/system.reg that begin with: [System\CurrentControlSet\Control\Print\Printers
On May 2, 2004 09:06 am, Duane Clark wrote:
Bill Medland wrote:
On May 1, 2004 08:50 am, Duane Clark wrote:
Thanks for the continued help, Duane
> Bill Medland wrote:
(Yes, I know 20031118 is a little old)
Anyone any ideas what is going on here or any simple tests I can do?
I am trying to get our company's software running on Red Hat Enterprise Linux 3 Update 1.
I am using the wine-20031118-1rh8winehq.i686.rpm
I am printing to a SMB printer elsewhere on the computer. I can print the test page from the printconfgui I can print a text file from the command line (lp /etc/passwd)
Wine expects to print with lpr and the corresponding syntax. Can you print on the command line with lpr instead of lp?
Yes
Then the next test is that Wine expects to be able to print a postscipt file via lpr, so the next thing to try is printing a postscript file via lpr.
Yep. /usr/share/apps/kdeprint/testprint.ps
Hmm, and is printconfgui something other than CUPS, I take it?
Sorry; I guess I was being lazy. No. RHEL uses CUPS (and they appear to have dropped LPRng so I can't try that which is my usual next step). By printconfgui I meant redhat-config-printer-gui (which I believe used to be called something like printconfgui or something close back in the old RH6 days)
You might want to post the contents of /etc/printcap, windows/win.ini, and the sections of ~/.wine/system.reg that begin with: [System\CurrentControlSet\Control\Print\Printers
printcap ---- # This file was automatically generated by cupsd(8) from the # /etc/cups/printers.conf file. All changes to this file # will be lost. lp: ---- printers.conf ---- # # "$Id: printers.conf,v 1.12 2002/01/02 17:58:38 mike Exp $" # # Sample printer configuration file for the Common UNIX Printing System # (CUPS) scheduler. # # Copyright 1997-2002 by Easy Software Products, all rights reserved. # # These coded instructions, statements, and computer programs are the # property of Easy Software Products and are protected by Federal # copyright law. Distribution and use rights are outlined in the file # "LICENSE.txt" which should have been included with this file. If this # file is missing or damaged please contact Easy Software Products # at: # # Attn: CUPS Licensing Information # Easy Software Products # 44141 Airport View Drive, Suite 204 # Hollywood, Maryland 20636-3111 USA # # Voice: (301) 373-9603 # EMail: cups-info@cups.org # WWW: http://www.cups.org #
######################################################################## # # # This is a sample printer configuration file. This file is included # # from the main configuration file (cups.conf) and lists all of the # # printers known to the system. # # # ########################################################################
# # Each printer starts with a <Printer name> definition. Printer names # can be up to 128 characters in length and are *not* case sensitive. # # One <DefaultPrinter name> entry can appear in this file; if you don't # define a default destination, the first printer or class becomes the # default. #
#<Printer sample> # # Info: the description for the printer. #
#Info Acme LaserPrint 1000
# # Location: the location of the printer. #
#Location Room 101 in the activities building
# # DeviceURI: the device URI for this printer. #
#DeviceURI parallel:/dev/plp #DeviceURI serial:/dev/ttyd1?baud=38400+size=8+parity=none+flow=soft #DeviceURI scsi:/dev/scsi/sc1d6l0 #DeviceURI socket://hostname:port #DeviceURI tftp://hostname/path #DeviceURI ftp://hostname/path #DeviceURI http://hostname%5B:port%5D/path #DeviceURI ipp://hostname/path #DeviceURI smb://hostname/printer
# # State: sets the initial state of the printer. Can be one of the # following: # # Idle - Printer is available to print new jobs. # Stopped - Printer is disabled but accepting new jobs. #
#State Idle
# # StateMessage: sets the printer-state-message attribute for the printer. #
#StateMessage Printer is idle.
# # Accepting: is the printer accepting jobs? # #Accepting Yes #Accepting No
#</Printer>
# # End of "$Id: printers.conf,v 1.12 2002/01/02 17:58:38 mike Exp $". # <DefaultPrinter lp> Info Created by redhat-config-printer 0.6.x DeviceURI smb://LOCALDOMAIN/MEDBI01_3/CANON Location Default printer State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 </Printer> ---- win.ini ----
[intl] sLanguage=English (Canada) sCountry=Canada iCountry=2 s1159=AM s2359=PM sTime=: iTime=0 iTLZero=0 sShortDate=dd/MM/yyyy sLongDate=MMMM d, yyyy iLDate=0 sDate=/ iDate=1 sCurrency=$ iCurrency=0 iNegCurr=1 iCurrDigits=2 sDecimal=. sList=, sThousand=, iDigits=2 Numshape=1 sNativeDigits=0123456789 iTimePrefix=0 iCalendarType=1 iLZero=1 iMeasure=0
[devices] lp=WINEPS,LPR:lp
[windows] device=lp,WINEPS,LPR:lp ---- from system.reg ---- [System\CurrentControlSet\Control\Print\Printers\lp] 1083461445 "Attributes"=dword:00000000 "Datatype"="RAW" "Default DevMode"=hex:6c,70,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,0a,03,01,00,9c,00,08,00,13,6b,00,00,\ 01,00,09,00,9a,0b,33,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"="lp" "Parameters"="<parameters?>" "Port"="LPR:lp" "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\Wine PostScript Driver] 1069252670 "Attributes"=dword:00000000 "Default Devmode"="" "Name"="Wine PostScript Driver" "Port"="LPT1:" "Print Processor"="WinPrint" "Printer Driver"="PS Driver" "Priority"=dword:00000000 "Start Time"=dword:00000000 "Status"=dword:00000000 "Until Time"=dword:00000000
[System\CurrentControlSet\Control\Print\Printers\Wine PostScript Driver\PrinterDriverData] 1063336711 "PPD File"="/unix/path/to/PPD/file"
[System\CurrentControlSet\Control\Print\Printers\Wine PostScript Driver\PrinterDriverData\FontSubTable] 1063336711 "Arial"="Helvetica" "Courier New"="Courier" "Helv"="Helvetica" "Times New Roman"="Times" -----