In the current release, you have to edit the corresponding Forms.xml file for the printer and add an entry to use that form with an unprintable area. Then, you have to recompile the device.
In the next release, you only have to edit the xml files.
What is the exact form size in thousands of a millimeter? (304800, 210820)
Is there an exact english name to use or just use FORM_12_X_8_3?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
searching further i think i have found the base
of the problem almost.
RedHat is using a file called mf.cfg wich additional
give informations for papersize.
The value of "GS_PAPERSIZE=letter" and this
makes the problem.
Now knowing where is the problem i still have no idear
how to change this to what i need.
regards
Sven
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have added the new form to the base omni driver in CVS. Please compile and install it.
In the file "/opt/Omni/share/Epson LQ-2070.xml" there is a reference to "Epson LQ-2070 Forms.xml". Edit the file and add another <deviceForm>...</deviceForm> block. Change the name to FORM_GERMAN_12_X_250_FANFOLD and the hardCopy information to the appropriate values.
Then, test it out with
OmniDeviceTester --cout output24.prn --cerr output24.err -sproperties='form=FORM_GERMAN_12_X_250_FANFOLD' Epson_LQ_2070
copy the output24.prn to lpt1.
It should draw a box around the printable area. Make sure that the form is not cut off on the edges.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
can anyone tell me how it is possible to use a new
papersizedefinition ?
We use in germany a "12 inches x 8,3 inches" sized continuous paper.
I use the printtool on RedHat 7.3 and 8.0 with
LPRng spooler to change settings but even a lot
of sizes are there, this is missing.
regards
Sven Hummel
Hi Sven,
You have to add an entry into DeviceForm.[hc]pp.
In the current release, you have to edit the corresponding Forms.xml file for the printer and add an entry to use that form with an unprintable area. Then, you have to recompile the device.
In the next release, you only have to edit the xml files.
What is the exact form size in thousands of a millimeter? (304800, 210820)
Is there an exact english name to use or just use FORM_12_X_8_3?
Hi Mark,
the exact size including the perforation edge is
width 240000
height 304800
The perforation edge size left and rigt are each
width 15000
The name is various but most popular is
GermanFanfold 12"x240mm
I will try to edit the corresponding file and recompile.
Can i contact you if it not works ?
By the way another one also popular is
GermanFanfold 12"x250mm
Best regards
Sven
Hi Mark,
i have add a new entry into the file omni-form.xml.
Now i can select this entry in RedHats printtool.
The problem is that there are no changes it still be
11" instead of 12"
Any idear ?
best regards
Sven
Hi Mark,
searching further i think i have found the base
of the problem almost.
RedHat is using a file called mf.cfg wich additional
give informations for papersize.
The value of "GS_PAPERSIZE=letter" and this
makes the problem.
Now knowing where is the problem i still have no idear
how to change this to what i need.
regards
Sven
Hi Sven,
I have added the new form to the base omni driver in CVS. Please compile and install it.
In the file "/opt/Omni/share/Epson LQ-2070.xml" there is a reference to "Epson LQ-2070 Forms.xml". Edit the file and add another <deviceForm>...</deviceForm> block. Change the name to FORM_GERMAN_12_X_250_FANFOLD and the hardCopy information to the appropriate values.
Then, test it out with
OmniDeviceTester --cout output24.prn --cerr output24.err -sproperties='form=FORM_GERMAN_12_X_250_FANFOLD' Epson_LQ_2070
copy the output24.prn to lpt1.
It should draw a box around the printable area. Make sure that the form is not cut off on the edges.