|
Can you please give me code to preview and print logo or image from CFPrinting.SmartDevicePrintEngine?
I need a sample code to preview and print logo or image for CF.
|
|
|
|
|
Can you please give me code to preview and print logo or image from CFPrinting.SmartDevicePrintEngine?
I need a sample code to preview and print logo or image for CF.
|
|
|
|
|
excelent work!!!! but
How can i print with a bluetooth printer?
please help me
any idea
tHANKS
THIS I MY EMAIL osvaldo.sanchez84@hotmail.com
|
|
|
|
|
Tengo un problema a la hora de imprimir, y es que necesito aumentar el tamaño de la letra. Cuando imprimo solo tiene un tamaño fijo y es que estoy creando una aplicación para imprimir etiquetas de precios y el precio debe ser mas grande que los demás string como puedo hacer esto.
|
|
|
|
|
How can I change the fonts style, size for a Canon BJC 85?
Thank you.
|
|
|
|
|
Mr. Orkun GEDiK, I want to thank you for your work. It was very helpful to me.
I had to convert the code to VB, and I used a converter from c# to vb.
(Unfortunately, I' m not a c programmer!)
I also had a problem with Greek characters, and I got over it by sending the escape characters. The SubPrint, is now as below (it's VB!):
(I used an o'Neil thermal printer with the Line Printer mode, so the hex values used are for this printer)
Public Sub Print()
' Init device
commDevice.Init()
commDevice.Send(&H1B) ' The ESC character
commDevice.Send(&H77) ' The 'w' character, indicating the font selection command for
' the O'Neil Thermal Printer
commDevice.Send(&H69) ' The 'i' character, indicating the Greek font code for
' the O'Neil Thermal Printer
commDevice.Send(PageBuffer)
' End of page
FormFeed()
' Close COM port
commDevice.ClosePort()
End Sub
Thanks again!
Demetris Mastoras
Athens, Greece
|
|
|
|
|
Hi
Orkun GEDiK
I am trying to open BMP File and send through the SDPE to printer, but i am getting som junk print out
even i have send escape sequence of the printer given in printer manual
ESC * Select Bit image mode
ESC # Print logo
Please give me the sample code to use SPDE to print bmp files on serial printer.
Regards
Ramana
|
|
|
|
|
Hello
sorry for the inconvenience
I use windows mobile and I want to print a picture
you can send the source code for that
thank you
|
|
|
|
|
Hello
please help me
sorry for the inconvenience
I use windows mobile and
I want to print a picture
you can send the source code for that to my mail
thank you
|
|
|
|
|
I want to connect to wireless printer from My Windows Mobile .
Can i use this application to do it.
I donot understand where to start by using this.
Please help me
Thank u in Advance
Poorna
|
|
|
|
|
hello sir my name is varun...i m working as asp.net programmer here....i need ur suggestion...i made a website on asp.net...in website i add a pplication in which i called a sap fuction in asp.net through RFC this is the barcode code...which is given below....but i fetch this code in text box when i print that code on barcode printer it gives the error....so please help me how i execute that code on barcode on client side through asp.net
{D0619,0991,0599|}
{AY;-03,0|}
{C|}
{XB00;0067,0047,9,3,03,0,0186,+0000000000,000,0,00|}
{XB01;0067,0334,9,3,03,0,0186,+0000000000,000,0,00|}
{PV00;0067,0284,0042,0064,B,00,B|}
{PV01;0067,0571,0042,0064,B,00,B|}
{PV02;0067,0319,0020,0034,B,00,B|}
{PV03;0067,0599,0020,0032,B,00,B|}
{RB00;PF3221187 A 21087089 46|}
{RB01;PF3221187 A 21087089 46|}
{RV00;PF3221187 A 21087089 46|}
{RV01;PF3221187 A 21087089 46|}
{RV02;ROLL NO.: D-37700 GROUP : 2A|}
{RV03;ROLL NO.: D-37700 GROUP : 2A|}
{XS;I,0001,0001C4200|}
{D0619,0991,0599|}
{AY;+07,0|}
{C|}
{LC;0033,0041,0976,0288,1,3|}
{PC000;0042,0066,05,05,E,00,B|}
{PC001;0042,0102,05,05,E,00,B|}
{PC002;0042,0142,05,05,E,00,B|}
{PC003;0042,0182,05,05,E,00,B|}
{PC004;0042,0223,05,05,E,00,B|}
{PC005;0042,0266,05,05,E,00,B|}
{PC006;0193,0075,05,05,M,00,B|}
{PC007;0193,0106,05,05,M,00,B|}
{PC008;0193,0146,05,05,M,00,B|}
{PC009;0193,0186,05,05,M,00,B|}
{PC010;0193,0226,05,05,M,00,B|}
{PC011;0193,0275,05,05,M,00,B|}
{PC012;0634,0076,05,05,E,00,B|}
{PC013;0753,0086,05,05,M,00,B|}
{PC014;0633,0113,05,05,E,00,B|}
{PC015;0753,0116,05,05,M,00,B|}
{PC016;0633,0152,05,05,E,00,B|}
{PC017;0753,0156,05,05,M,00,B|}
{PC018;0633,0192,05,05,E,00,B|}
{PC019;0753,0196,05,05,M,00,B|}
{PC020;0633,0236,05,05,E,00,B|}
{PC021;0753,0245,05,05,M,00,B|}
{LC;0621,0035,0621,0285,0,3|}
{LC;0034,0320,0977,0568,1,3|}
{PC022;0043,0346,05,05,E,00,B|}
{PC023;0043,0382,05,05,E,00,B|}
{PC024;0043,0422,05,05,E,00,B|}
{PC025;0043,0463,05,05,E,00,B|}
{PC026;0043,0503,05,05,E,00,B|}
{PC027;0043,0546,05,05,E,00,B|}
{PC028;0193,0355,05,05,M,00,B|}
{PC029;0193,0386,05,05,M,00,B|}
{PC030;0193,0425,05,05,M,00,B|}
{PC031;0193,0466,05,05,M,00,B|}
{PC032;0193,0506,05,05,M,00,B|}
{PC033;0193,0555,05,05,M,00,B|}
{PC034;0634,0356,05,05,E,00,B|}
{PC035;0754,0365,05,05,M,00,B|}
{PC036;0634,0392,05,05,E,00,B|}
{PC037;0753,0396,05,05,M,00,B|}
{PC038;0634,0432,05,05,E,00,B|}
{PC039;0753,0436,05,05,M,00,B|}
{PC040;0634,0472,05,05,E,00,B|}
{PC041;0753,0476,05,05,M,00,B|}
{PC042;0634,0516,05,05,E,00,B|}
{PC043;0753,0525,05,05,M,00,B|}
{PC044;0634,0266,05,05,E,00,B|}
{PC045;0634,0547,05,05,E,00,B|}
{PC046;0753,0275,05,05,M,00,B|}
{PC047;0753,0556,05,05,M,00,B|}
{LC;0621,0314,0621,0564,0,3|}
{RC000;Sort No.|}
{RC001;Shade No|}
{RC002;Shade Name|}
{RC003;Lot No.|}
{RC004;Width|}
{RC005;Gross Wt|}
{RC006;PF3221187|}
{RC007;S122770|}
{RC008;COFFEE GROUNDS|}
{RC009;30090550|}
{RC010;140.00 cm|}
{RC011;14.40|}
{RC012;Bale No|}
{RC013;21087089|}
{RC014;Roll No|}
{RC015;D-37700|}
{RC016;Metre |}
{RC017;46|}
{RC018;Grade|}
{RC019;A|}
{RC020;Group No|}
{RC021;2A|}
{RC022;Sort No.|}
{RC023;Shade No|}
{RC024;Shade Name|}
{RC025;Lot No.|}
{RC026;Width|}
{RC027;Gross Wt|}
{RC028;PF3221187|}
{RC029;S122770|}
{RC030;COFFEE GROUNDS|}
{RC031;30090550|}
{RC032;140.00 cm|}
{RC033;14.40|}
{RC034;Bale No|}
{RC035;21087089|}
{RC036;Roll No|}
{RC037;D-37700|}
{RC038;Metre |}
{RC039;46|}
{RC040;Grade|}
{RC041;A|}
{RC042;Group No|}
{RC043;2A|}
{RC044;Design No|}
{RC045;Design No|}
{RC046;|}
{RC047;|}
{XS;I,0001,0001C4201|}
please send me this information on my email id which is vmodi6202@gmail.com or v_modi6202@yahoo.co.in
i really need that soulution so please send as soon as possible
|
|
|
|
|
can u plz tell me the code that how i can print a document from a device application.???
|
|
|
|
|
Thank Soooo much about the great work , i tested it with windows CE 5 through bluethooth and work propery but now i have question ,
if we want to add logo to the printed page before print it like as any company logo in any invoice how we develop it ....
i'm in need of help
reham
|
|
|
|
|
Thank you.
What about Bluetooth support?
It will be very interesting.
I am trying to find solution how to print from pocket PC to mobile printer via Bluetooth...
Regards,
Oleg
|
|
|
|
|
hi Orkun,
first of all, congratulations for your work and share with us, it is an excelent work. but i have problems with writing turkish characters (s, S, I, i, g, G, etc...). although i convert to utf8, i can not accomplished.
any help will be greatly appreciated.
thanks in advance...
|
|
|
|
|
Hello Orkun,
I asked before on how to print graphics through SDPE and you said to use escape characters. We did that but now we have a long string to enter in in ordr for us to print our graphic. The problem is that we are always getting the PageOverflow error, and to fix that we increase the size of the page. However, after the graphic prints, the printer prints out a lot of blank space to make up for the size of the page we had to increase.
Is there any way to send our Escape command and string to the printer without writing to the logical page?
Thanks
|
|
|
|
|
Please tell me. How...
... change font style, size;
... margins paper.
thasks.
-- modified at 0:34 Friday 30th November, 2007
|
|
|
|
|
Hi,
I have used this code in my smart device project. Here in this code the bytes that is to be printed is sent to the printer, there is no acknowledgement back to the printer, whether bytes have been printed or not.
This methods of printbyte and print works fine with no errors if , no printer attached, it works fine even if attached printer is not working, or if the paper in the printer is empty still method executes with no error. I tried to change the printebyte method with return type bool to check if successfully printed or not, but worthless efforts. Can u please help me out for this, how to acknowledge if the printer has successfully executed or not.
Thanks in advance.
Nikey Patel
|
|
|
|
|
Hi,
Bluetooth device sends a return code for feedback about what happened at printer side. To do that you need to read incoming bluetooth COM port on pocket pc device. You can find the port number on bluetooth manager. The operation performs as same as sending bytes to the printer, but you need to read data instead of write. I hope that this information is good enough for you.
Orkun GEDiK
Senior SAP R/3 Basis and Development Consultant
ASTRON
|
|
|
|
|
Thanks your grate job.
This code work fine to print for "single byte" word,
but when I try to print "Double bytes" word it doesn't work.
Any idea about how to output double bytes word.
Thanks in advance.
|
|
|
|
|
Plz guide me how to print landscape using this smart device print engine as soon as possible.
hiiii
|
|
|
|
|
An unhandled exception of type 'System.TypeLoadException' occurred in System.Windows.Forms.dll
Additional information: Could not load type System.Windows.Forms.Form from assembly System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=B77A5C561934E089.
when i try direct print i get this error message.
have you got an idea about it
thanks
|
|
|
|
|
thank you for the source about printing.But i have a one question about ce printing.I am trying to run that code at windows ce 4.2 emulator but it doesn't work. What can i do about that ?
Can you help me please ?
Thank you.
|
|
|
|
|
This is a great article. We are writing an application that needs to print from a handheld to a bluetooth printer and it works perfectly. However, is there a way to print a small black and white bitmap logo onto the printout along with the ascii characters? Thanks
|
|
|
|
|
Hi,
You need to send picture data stream to the printer in graphic mode. To do so, you should use some special escape characters before sending the data, in order to print picture. You can find "how can you change to graphic mode?" on user guide of your printer. I hope that I clearified the issue.
Orkun GEDiK
Senior SAP R/3 Basis and Development Consultant
ASTRON
|
|
|
|
|