please dont rip this site

NEW202005

 

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, &quot;%c%s&quot;, 27, &quot;%-12345X&quot;);	// 9 chars
	MoveMemory(pOemPDEV-&gt;pBufStart, bufUnivExit, 10);
	dwOffset += 9;

	// PJL
	char bufPJL[38];
	StringCchPrintfA(bufPJL, 38, &quot;%s%c%c&quot;, &quot;@PJL COMMENT ROMFOBMAYCE TEST-PRINT&quot;, 13, 10); // 37 chars
	MoveMemory(pOemPDEV-&gt;pBufStart + dwOffset, bufPJL, 38);
	dwOffset += 37;

	// PCL Esc
	char bufEsc[3];
	StringCchPrintfA(bufEsc, 3, &quot;%c%s&quot;, 27, &quot;E&quot;);	// 2 chars
	MoveMemory(pOemPDEV-&gt;pBufStart + dwOffset, bufEsc, 3);
	dwOffset += 2;

	// Raster Res
	char bufRes[8];
	StringCchPrintfA(bufRes, 8, &quot;%c%s%d%s&quot;, 27, &quot;*t&quot;, pPubDM-&gt;dmYResolution, &quot;R&quot;);	// 7 chars
	MoveMemory(pOemPDEV-&gt;pBufStart + dwOffset, bufRes, 8);
	dwOffset += 7;

	// Units of Measure
	char bufUOM[8];
	StringCchPrintfA(bufUOM, 8, &quot;%c%s%d%s&quot;, 27, &quot;&amp;u&quot;, pPubDM-&gt;dmYResolution, &quot;D&quot;);	// 7 chars
	MoveMemory(pOemPDEV-&gt;pBufStart + dwOffset, bufUOM, 8);
	dwOffset += 7;

	// Raster Presentation
	char bufPres[6];
	StringCchPrintfA(bufPres, 6, &quot;%c%s&quot;, 27, &quot;*r3F&quot;); // 5 chars
	MoveMemory(pOemPDEV-&gt;pBufStart + dwOffset, bufPres, 6);
	dwOffset += 5;

	// Orientation
	char bufOrient[6];
	if (pPubDM-&gt;dmOrientation == 1)
		orient = 0;
	else
		orient = 1;
	StringCchPrintfA(bufOrient, 6, &quot;%c%s%d%s&quot;, 27, &quot;&amp;l&quot;, orient, &quot;O&quot;);	// 5 chars
	MoveMemory(pOemPDEV-&gt;pBufStart + dwOffset, bufOrient, 6);
	dwOffset += 5;

	// Paper Size
	char bufPaperSize[6];
	if (pPubDM-&gt;dmPaperSize == 1)
		pageSize = 2;
	else
		pageSize = 3;
	StringCchPrintfA(bufPaperSize, 6, &quot;%c%s%d%s&quot;, 27, &quot;&amp;l&quot;, pageSize, &quot;A&quot;);	// 5 chars
	MoveMemory(pOemPDEV-&gt;pBufStart + dwOffset, bufPaperSize, 6);
	dwOffset += 5;

	// Set horizontal and vertical registration (page margins)
	char bufRegistration[14];
	StringCchPrintfA(bufRegistration, 14, &quot;%c%s&quot;, 27, &quot;&amp;l-180u-360Z&quot;);	// 13 chars
	MoveMemory(pOemPDEV-&gt;pBufStart + dwOffset, bufRegistration, 14);
	dwOffset += 13;

	// Write it to the spooler
	dwWritten = pDevObj-&gt;pDrvProcs-&gt;DrvWriteSpoolBuf(pDevObj, pOemPDEV-&gt;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

&quot;Prolog is 'Jeopardy!' for programmers.&quot;<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



file: /Techref/new202005.txt, 16KB, , updated: 2020/5/25 15:56, local time: 2020/5/27 02:39,
TOP NEW HELP FIND: 
34.231.21.83:LOG IN

 ©2020 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?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://www.piclist.com/techref/new202005.txt"> new202005</A>

Did you find what you needed?

  PICList 2020 contributors:
o List host: MIT, Site host massmind.org, Top posters @20200527 RussellMc, Bob Blick, Jason White, Neil, David C Brown, Sean Breheny, James Cameron, Allen Mulvey, Harold Hallikainen, David Van Horn,
* 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 www.piclist.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .