0

I downloaded the ios (swift) sdk for epson epos2 printer and I integrate with my application without any problem. Now I can print the images or texts vertically one by one. But my problem is I want to print two image and one text horizaontal. For this format I tried addpageArea(x,y,width,height) addpagebegin(), addpageEnd() and I tried with addPagePosition(x,y) also. These methods also print in vertical format only.

Desdenova
  • 5,326
  • 8
  • 37
  • 45
Krutarth Patel
  • 3,407
  • 6
  • 27
  • 54
  • why is the actual problem with the e.g. CoreGraphics PDF Context? that could help you to create standard printable content for every kinda _air printers_, you don't need to support specific printers one-by-one in an iOS app; furthermore the PDF Context is well documented on __[Apple's site](https://developer.apple.com/reference/coregraphics/1666286-cgpdfcontext)__, and probably you could find thousand tutorials as well online. – holex Aug 24 '16 at 07:43
  • Thank you for quick response.i check my printer model is not not compatible device list.what to do – Krutarth Patel Aug 24 '16 at 08:28
  • there is a few __epos__ printers which supports _air printing_ (even Epson has such receipt printers for iOS), but Apple does not list any of them, so you can't rely in their list in this case; you need to find models on your own. – holex Aug 24 '16 at 08:52
  • Thanks for guidance.i have own printer.model name : EPSON TM-m30 model. – Krutarth Patel Aug 24 '16 at 09:04
  • have you read it specs? what did it say? – holex Aug 24 '16 at 09:08
  • Yes i read and also read your thoughts on your profile – Krutarth Patel Aug 24 '16 at 09:36
  • 2
    my thoughts maybe not relevant in resolving your problem :) but basically if we go back to your OP and determine your specific device (TM-m30) does not support connecting via Wi-Fi, it is likely that it does not support the _AirPrint_ feature in generic at all; so __the next question is__: could you send generic PDF content to the device via the Epson SDK? if yes, I would recommend to fall back that solution and build up the PDF via the PDF Context of CoreGraphics. – holex Aug 24 '16 at 09:42
  • @holex i am creating my receipt view in imageview than i am printing an image.this is better than creating pdf? becuase when i print image it is too small.plz guide me – Krutarth Patel Sep 24 '16 at 04:58
  • @KrutarthPatel : Can you share tutorial how we can integrate SDK in our app? – Abhishek Thapliyal Apr 05 '18 at 10:44
  • @AbhishekThapliyal please share your printer model name – Krutarth Patel Apr 05 '18 at 11:29
  • @KrutarthPatel : Epson TM-M30 – Abhishek Thapliyal Apr 05 '18 at 11:42
  • @AbhishekThapliyal https://c4b.epson-biz.com/modules/pos/index.php?page=single_soft&cid=5670&scat=58&pcat=52 – Krutarth Patel Apr 05 '18 at 11:45
  • @AbhishekThapliyal you can check your model https://c4b.epson-biz.com/epson/epson_public_document.php?name=ios270.pdf – Krutarth Patel Apr 05 '18 at 11:46
  • @KrutarthPatel : That is a sample app i need a tutorial to add in app. also their sample is not connecting device – Abhishek Thapliyal Apr 05 '18 at 11:47
  • might this help you.https://github.com/Shoptree/epsonPrintSDK – Krutarth Patel Apr 05 '18 at 12:04
  • @AbhishekThapliyal download zip and extract ePOS_SDK_iOS_v2.7.0 file and find demo ePOS2_Printer – Krutarth Patel Apr 05 '18 at 12:07
  • Let us [continue this discussion in chat](https://chat.stackoverflow.com/rooms/168306/discussion-between-abhishek-thapliyal-and-krutarth-patel). – Abhishek Thapliyal Apr 05 '18 at 12:15

0 Answers0