[This is intended as a supplement to Jean Marie’s answer.]
To review, the equation $ax+by+c=0$ of a line can be written as the dot product $(a,b,c)\cdot(x,y,1)=0$, so the vector $(a,b,c)$ can be used to represent the line. Multiplying both sides of an equation by a nonzero scalar doesn’t change its solution set, so any nonzero multiple of $(a,b,c)$ represents the same line, and similarly, if $(x,y,1)$ satisfies the equation, then so does $(kx,ky,k)^T$, so both of the coordinate vectors in these equations are homogeneous. I’ll denote them with colons instead of commas to emphasize this.
Every family of parallel lines has a unique point “at infinity” that is the intersection of all of the lines in the family and vice-versa: every point at infinity has a corresponding distinct family of parallel lines that pass through the point. Thus, each point at infinity represents a unique direction on the plane.
The homogeneous coordinates of a point at infinity have the form $(x:y:0)$. Just as you convert the Cartesian coordinates of a finite point to homogeneous coordinates by appending a $1$, you convert the Cartesian coordinates of a direction vector by appending a $0$.
Given the line $(a:b:c)$, it should be fairly obvious that its point at infinity is $(b:-a:0)$. So, if you want the line parallel to this one that passes through the point $(A:B:1)$, you can compute their cross product just as you might do with two finite points: $$(A:B:1)\times(b:-a:0) = \left(a:b:-(aA+bB)\right).$$ In the same vein, two direction vectors are perpendicular iff their dot product vanishes, and this carries over to the corresponding points at infinity†. It should be fairly obvious that $(a,b)$ and $(b,-a)$ are perpendicular, thus to obtain the line through the point $(A:B:1)$ that is perpendicular to $(a:b:c)$, you can again use a cross product: $$(A:B:1)\times(a:b:0) = (-b:a:bA-aB).$$ Since nonzero multiples of the homogeneous coordinates of an object are equivalent, this formula produces the same line as the one in the other answer.
† Strictly speaking, we need to use the scalar product associated with the Euclidean geometry that we’ve imposed on the projective plane, but for the coordinate system that we’re using here, it’s just the dot product of the homogeneous vectors with their last component set to zero.