ON 20200502@5:45:26 PM at page: On a web page you were interested in at: http://www.piclist.com/Techref/member/SC-gmail-9A7/index.htm#43953.7398842593 Smitha Challa[SC-gmail-9A7] Code: <PRE>Hello, Is there someone who can get me started on converting the monochrome PCL to support 256bpp and color? I used the windows DDK bitmap print driver, enhanced it to support PCL. This was written a few years back. Now I am working on converting it to support color. This is how the code looks Ofcourse there is always HP guide but please I need some code to compare what needs to be done extra for color? // Universal Exit char bufUnivExit[10]; StringCchPrintfA(bufUnivExit, 10, "%c%s", 27, "%-12345X"); // 9 chars MoveMemory(pOemPDEV->pBufStart, bufUnivExit, 10); dwOffset += 9; // PJL char bufPJL[38]; StringCchPrintfA(bufPJL, 38, "%s%c%c", "@PJL COMMENT ROMFOBMAYCE TEST-PRINT", 13, 10); // 37 chars MoveMemory(pOemPDEV->pBufStart + dwOffset, bufPJL, 38); dwOffset += 37; // PCL Esc char bufEsc[3]; StringCchPrintfA(bufEsc, 3, "%c%s", 27, "E"); // 2 chars MoveMemory(pOemPDEV->pBufStart + dwOffset, bufEsc, 3); dwOffset += 2; // Raster Res char bufRes[8]; StringCchPrintfA(bufRes, 8, "%c%s%d%s", 27, "*t", pPubDM->dmYResolution, "R"); // 7 chars MoveMemory(pOemPDEV->pBufStart + dwOffset, bufRes, 8); dwOffset += 7; // Units of Measure char bufUOM[8]; StringCchPrintfA(bufUOM, 8, "%c%s%d%s", 27, "&u", pPubDM->dmYResolution, "D"); // 7 chars MoveMemory(pOemPDEV->pBufStart + dwOffset, bufUOM, 8); dwOffset += 7; // Raster Presentation char bufPres[6]; StringCchPrintfA(bufPres, 6, "%c%s", 27, "*r3F"); // 5 chars MoveMemory(pOemPDEV->pBufStart + dwOffset, bufPres, 6); dwOffset += 5; // Orientation char bufOrient[6]; if (pPubDM->dmOrientation == 1) orient = 0; else orient = 1; StringCchPrintfA(bufOrient, 6, "%c%s%d%s", 27, "&l", orient, "O"); // 5 chars MoveMemory(pOemPDEV->pBufStart + dwOffset, bufOrient, 6); dwOffset += 5; // Paper Size char bufPaperSize[6]; if (pPubDM->dmPaperSize == 1) pageSize = 2; else pageSize = 3; StringCchPrintfA(bufPaperSize, 6, "%c%s%d%s", 27, "&l", pageSize, "A"); // 5 chars MoveMemory(pOemPDEV->pBufStart + dwOffset, bufPaperSize, 6); dwOffset += 5; // Set horizontal and vertical registration (page margins) char bufRegistration[14]; StringCchPrintfA(bufRegistration, 14, "%c%s", 27, "&l-180u-360Z"); // 13 chars MoveMemory(pOemPDEV->pBufStart + dwOffset, bufRegistration, 14); dwOffset += 13; // Write it to the spooler dwWritten = pDevObj->pDrvProcs->DrvWriteSpoolBuf(pDevObj, pOemPDEV->pBufStart, 90); </PRE> ON 20200503@6:27:10 PM at page: On a web page you were interested in at: http://techref.massmind.org/Techref/robotics.htm#43954.7688657407 James Newton[JMN-EFP-786] See also: https://http://www.instructables.com/id/Soft-Robots-Making-Robot-Air-Muscles/ Making Soft Robotic actuators from 3D printed molds with "oogoo"; hardware store caulking and corn starch <BR><a href="https://http://www.instructables.com/id/Soft-Robots-Make-An-Artificial-Muscle-Arm-And-Gri/">https://http://www.instructables.com/id/Soft-Robots-Make-An-Artificial-Muscle-Arm-And-Gri/</a> ON 20200505@1:59:26 PM at page: On a web page you were interested in at: http://www.piclist.com/Techref/language/ccpp/convertbase.htm#43954.9922685185 James Newton[JMN-EFP-786] removed post 43954.9922685185 |Delete ' </UL>' ON 20200505@2:17:29 PM at page: On a web page you were interested in at: http://ecomorder.com/Techref/ecommerce/index.htm#43952.186875 James Newton[JMN-EFP-786] removed post 43952.186875 |Delete ' <LI>' ON 20200506@11:44:11 AM at page: On a web page you were interested in at: http://techref.massmind.org/Techref/language/prolog/index.htm#43957.4890162037 James Newton[JMN-EFP-786] Says "Prolog is 'Jeopardy!' for programmers."<BR> ON 20200507@10:03:38 AM at page: On a web page you were interested in at: http://www.sxlist.com/Techref/scenix/index.htm#43958.1756828704 James Newton[JMN-EFP-786] removed post 43958.1756828704 |Delete ' <LI>' ON 20200507@10:04:27 AM at page: On a web page you were interested in at: http://www.massmind.org/Techref/idea/websites.htm#43957.0253125 James Newton[JMN-EFP-786] removed post 43957.0253125 |Delete ' <LI>' ON 20200507@10:05:08 AM at page: On a web page you were interested in at: http://ecomorder.com/Techref/ecommerce/index.htm#43957.4809837963 James Newton[JMN-EFP-786] removed post 43957.4809837963 |Delete ' <LI>' ON 20200508@3:05:29 PM at page: On a web page you were interested in at: http://ecomorder.com/Techref/ecommerce/index.htm#43959.4512731481 James Newton[JMN-EFP-786] removed post 43959.4512731481 |Delete ' <LI>' ON 20200510@8:27:46 PM at page: On a web page you were interested in at: http://techref.massmind.org/Techref/legalese.htm# James Newton[JMN-EFP-786] edited the page. Difference: http://techref.massmind.org/techref/diff.asp?url=\Techref\legalese.htm&version=0 ON 20200514@1:11:04 PM at page: On a web page you were interested in at: http://techref.massmind.org/Techref/adhesives.htm#43965.5493518518 James Newton[JMN-EFP-786] See also: https://multimedia.3m.com/mws/media/706199O/3m-epx-applicators-and-nozzles-technical-bulletin.pdf <UL>3M DP### cartridge nozzles: <LI>37ml, 38ml, 43ml and 50ml 3M cartridges all use the same nozzle: "EPX Mixing Nozzle for 50 mL Applicator (62-9178-9150-9) 81449" <LI>45 mL (10:1) uses "EPX Mixing Nozzle Square Orange for 50 mL Applicator (62-9154-9136-9) 69043" <LI>48.5 mL/50 mL (1:1 / 2:1) uses the "EPX Mixing Nozzle for 48.5/50mL Applicator (62-9178-9151-7) 01004" <LI>200 mL (1:1 and 2:1) uses "EPX 6mm Nozzle for 200 mL / 400 mL Applicators (62-9142-9930-0) 87982 <LI>400 mL (1:1 and 2:1) EPX 6mm Nozzle for 200 mL / 400 mL Applicators (62-9142-9930-0) 87982 <LI>490 mL (10:1) EPX Mixing Nozzle Helical Orange for 490 mL Applicator (62-9158-9136-0) 69042 </UL> ON 20200514@4:09:09 PM at page: On a web page you were interested in at: http://www.piclist.com/Techref/microchip/io/dev/keyboard/ps2-jc.htm#43964.4630092593 James Newton[JMN-EFP-786] removed post 43964.4630092593 |Delete ' <LI>' ON 20200514@4:12:20 PM at page: On a web page you were interested in at: http://massmind.org/Techref/idea/websites.htm#43964.0771759259 James Newton[JMN-EFP-786] removed post 43964.0771759259 |Delete ' <LI>' ON 20200514@4:12:42 PM at page: On a web page you were interested in at: http://www.piclist.com/Techref/piclist/index.htm#43963.3700231481 James Newton[JMN-EFP-786] removed post 43963.3700231481 |Delete ' <LI>' ON 20200514@4:13:08 PM at page: On a web page you were interested in at: http://ecomorder.com/Techref/ecommerce/index.htm#43963.1951273148 James Newton[JMN-EFP-786] removed post 43963.1951273148 |Delete ' <LI>' ON 20200518@1:59:52 PM at page: On a web page you were interested in at: http://ecomorder.com/Techref/ecommerce/index.htm#43968.479375 James Newton[JMN-EFP-786] removed post 43968.479375 |Delete ' <LI>' ON 20200518@2:01:38 PM at page: On a web page you were interested in at: http://piclist.com/Techref/member/jwn-hotmail-f41/TIMER_TUTORIAL.htm#43967.4567824074 James Newton[JMN-EFP-786] removed post 43967.4567824074 |Delete ' <LI>' ON 20200518@2:02:59 PM at page: On a web page you were interested in at: http://piclist.com/Techref/member/jwn-hotmail-f41/TIMER_TUTORIAL.htm#43966.5839351852 James Newton[JMN-EFP-786] removed post 43966.5839351852 |Delete ' <LI>' ON 20200518@2:04:09 PM at page: On a web page you were interested in at: http://www.piclist.com/Techref/piclist/index.htm#43966.2842824074 James Newton[JMN-EFP-786] removed post 43966.2842824074 |Delete ' <LI>' ON 20200518@2:04:20 PM at page: On a web page you were interested in at: http://www.piclist.com/Techref/piclist/index.htm#43953.1622800926 James Newton[JMN-EFP-786] removed post 43953.1622800926 |Delete ' <LI>' ON 20200523@4:35:41 PM at page: On a web page you were interested in at: http://www.massmind.org/Techref/robot/wirebot.htm#43974.6914467593 James Newton[JMN-EFP-786] See also: https://http://www.youtube.com/watch?v=APytl7GxOUQ Using math to setup arbitrary control systems for unusual mechanisms. ON 20200525@3:56:25 PM at page: On a web page you were interested in at: http://techref.massmind.org/Techref/member/JMN-EFP-786/index.htm# James Newton[JMN-EFP-786] edited the page. Difference: http://techref.massmind.org/techref/diff.asp?url=\Techref\member\JMN-EFP-786\index.htm&version=0 ON 20200527@9:44:09 PM at page: On a web page you were interested in at: http://techref.massmind.org/Techref/other/newtons/ps01/ps01_019.htm#43978.9056597222 James Newton[JMN-EFP-786] Says Attended <a href="https://en.wikipedia.org/wiki/Flora_MacDonald_College">Flora Macdonald College</a> ON 20200527@10:10:16 PM at page: On a web page you were interested in at: http://techref.massmind.org/Techref/other/newtons/ps01/ps01_019.htm# James Newton[JMN-EFP-786] edited the page. Difference: http://techref.massmind.org/techref/diff.asp?url=\Techref\other\newtons\ps01\ps01_019.htm&version=1 ON 20200528@4:08:57 PM at page: On a web page you were interested in at: http://ecomorder.com/Techref/ecommerce/index.htm#43978.8517592593 James Newton[JMN-EFP-786] removed post 43978.8517592593 |Delete ' <LI>' ON 20200528@4:09:33 PM at page: On a web page you were interested in at: http://www.piclist.com/Techref/method/error/quickcrc16.htm#43976.9012615741 James Newton[JMN-EFP-786] published post 43976.9012615741 <LI>' ON 20200529@8:20:02 PM at page: On a web page you were interested in at: http://techref.massmind.org/Techref/language/FORTH/z80fig-Forth1_1g.htm#43980.8472453704 James Newton[JMN-EFP-786] See also: http://www.cpm.z80.de/binary.htm Binary file also cashed here:
file: /Techref/new202005.txt, 18KB, , updated: 2020/5/29 20:20, local time: 2024/4/25 20:15,
3.14.83.223:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://piclist.com/techref/new202005.txt"> new202005</A> |
Did you find what you needed? |
PICList 2024 contributors:
o List host: MIT, Site host massmind.org, Top posters @none found - Page Editors: James Newton, David Cary, and YOU! * Roman Black of Black Robotics donates from sales of Linistep stepper controller kits. * Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters. * Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated! * Contributors: Richard Seriani, Sr. |
Welcome to piclist.com! |
.