printer peripheral [CC 1.48/1.481][MC 1.4....
louitzie 28 May 2012
this mod adds a printer wich can print on paper
here are some screenshots
here are the methods
printer.open(side)
printer.drawPixel(x,y[,color(0-55)])
printer.drawChar(x,y,char[,color(0-55)]) see color table
printer.drawText(x,y,text[,color(0-55)]) see characters inclued in api (yellow)
printer.clear(x,y)
printer.getInklevels() returns red,green,blue
printer.getCapacity() returns an ink level when full
printer.eject()
printer.scanPixel(x,y) (if not disabled in config)
printer.scanChar(x,y) (if not disabled in config)
printer.scanText(x,y[,length]) (if not disabled in config)
printer.getContent() (map,paper,printed paper or no content) (if not disabled in config)
printer.close()
scanner.open(side)
scanner.scanPixel(x,y)
scanner.scanChar(x,y)
scanner.scanText(x,y[,length])
scanner.getContent() (map,paper,printed paper or no content)
scanner.close()
scanner recipe
SSS
WLW
SSS
S=stone
W=redstone dust
L=redstone lamp
download
universal
ccPrinter 1.4.6_r1
put in mods folder and extract the ccPrinterApis folder to mods
SSP
CCPrinter_Client 1.6
CCPrinter_Client 1.5
CCPrinter_Client 1.4
SMP
CCPrinter_Server 1.6
CCPrinter_Server 1.5
CCPrinter_Server 1.4
Bukkit
bukkit port 1.4
bukkit port 1.5 thanks to xackerz (make sure you use java 7)
updated version press sneak while clicking on printer with useable item to put
press sneak without held item to get item.
right click while paper use to switch side
i added master39's improved edit in the download it is loaden in /edit
here are some screenshots
here are the methods
printer.open(side)
printer.drawPixel(x,y[,color(0-55)])
printer.drawChar(x,y,char[,color(0-55)]) see color table
printer.drawText(x,y,text[,color(0-55)]) see characters inclued in api (yellow)
printer.clear(x,y)
printer.getInklevels() returns red,green,blue
printer.getCapacity() returns an ink level when full
printer.eject()
printer.scanPixel(x,y) (if not disabled in config)
printer.scanChar(x,y) (if not disabled in config)
printer.scanText(x,y[,length]) (if not disabled in config)
printer.getContent() (map,paper,printed paper or no content) (if not disabled in config)
printer.close()
scanner.open(side)
scanner.scanPixel(x,y)
scanner.scanChar(x,y)
scanner.scanText(x,y[,length])
scanner.getContent() (map,paper,printed paper or no content)
scanner.close()
scanner recipe
SSS
WLW
SSS
S=stone
W=redstone dust
L=redstone lamp
download
universal
ccPrinter 1.4.6_r1
put in mods folder and extract the ccPrinterApis folder to mods
SSP
CCPrinter_Client 1.6
CCPrinter_Client 1.5
CCPrinter_Client 1.4
SMP
CCPrinter_Server 1.6
CCPrinter_Server 1.5
CCPrinter_Server 1.4
Bukkit
bukkit port 1.4
bukkit port 1.5 thanks to xackerz (make sure you use java 7)
updated version press sneak while clicking on printer with useable item to put
press sneak without held item to get item.
right click while paper use to switch side
i added master39's improved edit in the download it is loaden in /edit
Xfel 28 May 2012
Great work! Only thing I noticed that the background of the green slot looks more like it needs lime dye than the dark cactus green dye, while the other colors match very well.
Mendax 28 May 2012
/> OMFG All you need now, is a book version when 1.3 comes out, capitals in the title and to upload to mediafire or something like it. Dropbox's links get frozen after a while.
EDIT: This is gonna be supported in my tex pack />
EDIT: This is gonna be supported in my tex pack />
Noodle 28 May 2012
WOW! Very nice, I like paper, what other point does this bring besides words and stuff?
louitzie 29 May 2012
nice to see that people use this mod
i'll see for mediafire
unfortunately multiplayer support seems to take longer than i tought
i'll see for mediafire
unfortunately multiplayer support seems to take longer than i tought
PixelToast 29 May 2012
oh lol, just made two duplicate sheets with the same damage value and made a program to print scrolling ascii art
chuiby 30 May 2012
Hopefully the SMP version will come soon />
This mod have a lot of potential.
Good job, awesome idea!
This mod have a lot of potential.
Good job, awesome idea!
Noodle 30 May 2012
I'm actually excited to see it come out for smp, I can now Yell at people, IN SILENCE.
Kane Hart 31 May 2012
Very cool, I hope someday this is ported to SMP then ported to bukkit because Godcraft would love a mod like this.
DerrikeG 31 May 2012
It'd be nice to have an accompanying scanner block to read sheet contents so that documents could be duplicated at their appropriate expense. If this functionality does come about, it would be insanely useful to have it extend to the vanilla maps.
kazagistar 01 Jun 2012
This is by far my favorite periphrial so far. Fits the vision for this mod very nicely, and fits a niche that no other tech mod fills
Just wait for 1.3, then port it, when server and client are the same thing. And see if you can't get it to print books instead of papers at that point.
Then you just need to send it off to the tekkit dudes.
Just wait for 1.3, then port it, when server and client are the same thing. And see if you can't get it to print books instead of papers at that point.
Then you just need to send it off to the tekkit dudes.
Matthewaj 01 Jun 2012
Everytime I use printer.drawchar(x,y,char)
it just gives me a sort of squarish "0"
it just gives me a sort of squarish "0"
printer.drawchar(5,5,"hi")
coolblockj 01 Jun 2012
Lol, this may be a stupid question, but what is the point for peripheral.call(side,draw,x,y,color) or where does it go in your program to change text color?
Also, are you limited to printing letter by letter?
Also, are you limited to printing letter by letter?
louitzie 01 Jun 2012
1 the drawchar function parameters are x,y,(only one character),color(didn't mention that)
2 currently you are but you can write your own algoritm the size is 21x13 chars or 128x119 pixels
3 yoy can add your own characters in the lua.api
for example
char["A"]="(row 1)01110(row 2)10001(row 3)11111(row 4)10001(row 5)10001(row 6)10001(row 7)10001(row 8)00000"
1=pixel
0=transparent
2 currently you are but you can write your own algoritm the size is 21x13 chars or 128x119 pixels
3 yoy can add your own characters in the lua.api
for example
char["A"]="(row 1)01110(row 2)10001(row 3)11111(row 4)10001(row 5)10001(row 6)10001(row 7)10001(row 8)00000"
1=pixel
0=transparent