Hi, I have posted this before, and was told to read the documentation (which I already had in detail) since I have been looking everywhere (mainly google) with no joy. If possible I want to tell wine I have a printer installed (write to file printer if possible) as I do not have a printer but have a windows application that requires a printer to be installed to run, could anyone advise me on any pointers of doing this, I have spent alot of time trying my best to research this but I either find nothing or it is completely baffling, I look forward to any replies (hopefully without been told to "read the documentation" (Which I have) Thanks. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.325 / Virus Database: 182 - Release Date: 19/02/2002
Dtr wrote:> Hi, > > I have posted this before, and was told to read the documentation (which I > already had in detail) since I have been looking everywhere (mainly google) > with no joy. > > If possible I want to tell wine I have a printer installed (write to file > printer if possible) as I do not have a printer but have a windows > application that requires a printer to be installed to run, could anyone > advise me on any pointers of doing this, > > I have spent alot of time trying my best to research this but I either find > nothing or it is completely baffling,I am not sure that it will actually fix your installation, but it should not be that difficult to install a printer. So you don't have a printer? you don't have cups, I assume. So you want to go through the steps for installing the "psdrv" stuff at: http://www.winehq.com/Docs/wine-user/printing.shtml If there is a part of this you don't understand, you will need to give more information than "it is completely baffling". Once installed, in your ~/.wine/config file, make the LPT1: device point to a file, and wine should print to a file just fine: [spooler] "FILE:" = "tmp.ps" "LPT1:" = "tmp.ps" -- My real email is akamail.com@dclark (or something like that).
Dtr wrote:> If possible I want to tell wine I have a printer installed (write to file > printer if possible) as I do not have a printer but have a windows > application that requires a printer to be installed to run, could anyone > advise me on any pointers of doing this,Hello, first of all: I did not try this suggestion. Reading between the lines i found: 1.) grep -iA4 spooler documentation/samples/config [spooler] "FILE:" = "tmp.ps" "LPT1:" = "|lpr" "LPT2:" = "|gs -sDEVICE=bj200 -sOutputFile=/tmp/fred -q -" "LPT3:" = "/dev/lp3" 2.) from documentation/psdrv.reg [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print\Printers\\Wine PostScript Driver] "Attributes"="dword:00000000" "Default Devmode""Name"="Wine PostScript Driver" "Port"="LPT1:" <--- change this to "FILE:" "Print Processor"="WinPrint" "Printer Driver"="PS Driver" "Priority"="dword:00000000" "Start Time"="dword:00000000" "Status"="dword:00000000" "Until Time"="dword:00000000" adjust the file for your requirements and import it via regapi. 3.) What does your program now? Tsch?? Stefan