Skip to content

Instantly share code, notes, and snippets.

@abey79
Last active November 28, 2021 22:50
Show Gist options
  • Save abey79/4c332fd71df6db706aacb3020f7ba123 to your computer and use it in GitHub Desktop.
Save abey79/4c332fd71df6db706aacb3020f7ba123 to your computer and use it in GitHub Desktop.
Roland DPX-2x00 config for vpype
# Notes from https://webmanual.rolanddg.com/contents/manuals/DPX-3700A+2700A_USE_E_R8.pdf
# * we use the default "DPX" origin system
# * paper_size: set to value from the X/Y columns (p.17)
# * for A3+ (where Xmm is paper long edge in mm and Ymm is paper short edge in mm):
# - x_range = (-Xmm * 20 - 480, Xmm * 20 - 480)
# - y_range = (-Ymm * 20, Ymm * 20
# * for A4:
# - x_range = (-Xmm * 20, Xmm * 20)
# - y_range = (-Ymm * 20 - 480, Ymm * 20 - 480)
# * origin_location: set to (-LLx, URy) from table on p. 17
# * A4 must be loaded portrait, but the plotter automatically rotates the coordinate system, so
#  long edge must be defined first just like larger paper format
[device.dpx2x00]
name = "Roland DPX-2x00"
plotter_unit_length = "0.025mm"
pen_count = 8
[[device.dpx2x00.paper]]
name = "a4"
information = "Plotter must be configured in A2 mode. Paper loaded in landscape orientation".
paper_size = ["297mm", "210mm"]
origin_location = ["309mm", 0] # (-LLx, URy)
x_range = [-12160, -680]
y_range = [-8200, -200]
y_axis_up = true
# set_ps = 4 # it appears PS takes two arguments (X,Y), which is not yet supported
[[device.dpx2x00.paper]]
name = "a3"
paper_size = ["420mm", "297mm"]
origin_location = ["222mm", "148.5mm"] # (-LLx, URy)
x_range = [-8880, 7920]
y_range = [-5940, 5940]
y_axis_up = true
# set_ps = 4 # it appears PS takes two arguments (X,Y), which is not yet supported
[[device.dpx2x00.paper]]
name = "a2"
paper_size = ["594mm", "420mm"]
origin_location = ["309mm", "210mm"] # (-LLx, URy)
x_range = [-12360, 11400]
y_range = [-8400, 8400]
y_axis_up = true
# set_ps = 4 # it appears PS takes two arguments (X,Y), which is not yet supported
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment