sslug-teknik team mailing list archive
-
sslug-teknik team
-
Mailing list archive
-
Message #17730
Ang: Re: Printer på serieporten?
Hej Frank och alla andra.
Jag hoppas det finns tid för en liten utvikning i ämnet::
>>On Wed, Jan 26, 2000 at 09:07:15 +0100, gunnar.larsson@xxxxxxxxxxxxx
wrote:
>> Jag undrar om man kan använda printtool till att sätta upp en spooler
>> utan driver (drivern ligger ju i CAD-progget) mot ttyS3 (com4).
>> Jag behöver verkligen få igång den här plottern men hur?
>> Hjälp någon? Alla tips är välkomna!
>Har du prøvet at opsætte printcap med ændret spooldir og /dev/ ?
>Se også Printing-Howto hvor serielle printere er nævnt.
>
>--
>mvh Frank Damgaard | http://home3.inet.tele.dk/frda/
Jo, jag har provat och igår kväll fann jag att ttyS3 inte funkar under
linux utan bara under windows,
varför vet jag inte. Du kanske kan ge mig lite tips? Jag skiftade till cua1
som fungerade.
ttyS1 svarar "device busy"??????stort mysterium....
Nu gjorde jag en kö till cua1 med "generic text only" som filter. Jag vet
inte om detta
förvirrar plottern. Printool skapar ett "magic filter" som är en mil långt
i spoolerkatalogen
/var/spool/lpd/Calcomp. Det funkar nu delvis men jag förstår inte
innehållet i filtret.
Jag kontaktade också Grant Taylor och Jacob A Langford (writer of PDQ) om
problemet
och jag fick ett svar från Langford som kan vara lite till hjälp hoppas
jag.
Jag behöver ett "straight through" filter eftersom drivern ligger inbakad i
VariCAD, som
är programmet jag vill plotta från, och jag fick något från Langford som
jag skall testa.
Det ser ut så här:
*>Also, you are absolutely correct about needing some kind of pass-through
*>driver. Add this to your .printrc or to /etc/pdq/drivers/generic/... or
*>to /etc/printrc, however your system is set up. Then you can use the
*>wizard to add this.
*>driver generic-pass-through-1.0 {
*> help "This driver will pass any file printed directly to
*> the printer. Do not use this unless you are sure
*> that your applications convert data into a format
*> understood by your printer."
*>
*> language_driver catch-all { filetype_regx = "." }
*>
*> }
Jag sänder med mailen till G.Taylor som lite extra förklaring.
Synpunkter??
*>I´ve now managed to get the plotter to receive something.
*>It seems it was not only the plotter and the driver, but on top of all
*>I found that the ttyS3 didn´t work under Linux (puha).
*>I shifted to ttyS1 (cua1) and then it worked - some.
*>I then found that the driver in VariCAD is probably pure HPGL,
*>which the plotter is not, it speaks a derivative of HPGL that they
*>call CPGL. CPGL does not accept any commands that concerns
*>rollmedia s.a. "enable cut line", "advance page", some character
*>commands or some RS232 device control commands.
*>(If you like I could fax you a copy of the the CPGL control set.)
*>This means that when the plot is finished the plotter does not
*>return the pen, but stops with "Invalid command received PG".
*>Well, I´ll ty to contact the Varicad people about this, maybe they
*>can rewrite the driver or something.
MVH Gunnar Larsson.
Follow ups