nolacoaches
IS-IT--Management
I have a legacy database application running on RedHat linux. THis may be a programmer forum question, but where?
The legacy app sends an order confirmation page to a samba printer OK, using either text only or laserjet drivers. However; if I write it to a file (.txt or .ps (using virtual postscript printer) the hard coded print control characters get imbedded in the output file and jumble up the formatting. Here is the code from the print routine:
Append Courier_bold_10 "(s0p10h0s3b4099T" // courier bold 10
Append Courier_bold_6 "(s0p6h0s3b4099T" // courier bold 6
Append Courier_bold_8 "(s0p12h0s3b4099T" // courier bold 8
Append Courier_bold_12 "(s0p14h0s5b4099T" // courier bold
When sending to a postscript file, the s0p6h0s...... appears as text and throws everything off.
Anybody think of a creative way to get this beast to fax (in a client server environment)
Never stay up on the barren heights of cleverness, but come down into the green valleys of silliness.
Ludwig Wittgenstein
The legacy app sends an order confirmation page to a samba printer OK, using either text only or laserjet drivers. However; if I write it to a file (.txt or .ps (using virtual postscript printer) the hard coded print control characters get imbedded in the output file and jumble up the formatting. Here is the code from the print routine:
Append Courier_bold_10 "(s0p10h0s3b4099T" // courier bold 10
Append Courier_bold_6 "(s0p6h0s3b4099T" // courier bold 6
Append Courier_bold_8 "(s0p12h0s3b4099T" // courier bold 8
Append Courier_bold_12 "(s0p14h0s5b4099T" // courier bold
When sending to a postscript file, the s0p6h0s...... appears as text and throws everything off.
Anybody think of a creative way to get this beast to fax (in a client server environment)
Never stay up on the barren heights of cleverness, but come down into the green valleys of silliness.
Ludwig Wittgenstein