If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Converting PCL Commands into GDI calls
Here am trying to convert the PCL command into the GDI calls ,
The PCL command are as follows fprintf(out1,"\033*p%dx%dY\033*c2A\033*c2930B\033* c0P\n",1,20); fprintf(out1,"\033*p%dx%dY\033*c2A\033*c2930B\033* c0P\n",2335,20); fprintf(out1,"\033*p%dx%dY\033*c2335A\033*c2B\033* c0P\n",1,20); fprintf(out1,"\033*p%dx%dY\033*c2335A\033*c2B\033* c0P\n",1,2950); It will print the rectangle on A4 size page. I convert this into GDI calls CDC pDC; pDC.Rectangle(1,20,2335,2950); and trying to print the rectangle it prints the half of the rectangle only, the result not matches with PCL command results. Can anyone help me. or send your reply to |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Good News, Huge Saving for IDD & Long Distance calls | John | Asus Motherboards | 0 | February 27th 05 02:19 PM |
How to do phone calls, fax and aswering machine with one PC box? | Elly | Homebuilt PC's | 3 | August 29th 04 08:32 PM |
Converting RAID 0 Array to RAID 0+1 - Advice sought. | Mod | Asus Motherboards | 1 | November 30th 03 03:31 AM |
report printing on dot matrix without converting data to text. | J. A. Mc. | Printers | 0 | August 12th 03 12:39 AM |